In the Deja Dup preferences, it is possible to select certain folders to backup and certain folders to exclude.
I would like to be able to backup individual files in my Home folder (Such as .vimrc and .bashrc), but I don't see any way to do this.

So my question is, is it possible to either

  • Select individual files (instead of whole folders) to backup, or
  • backup my Home folder, but exclude all subfolders?

According to mterry last Febuary, this isn't something Deja Dup can currently do:


Although he's talking about exclusion, it's the same principle as inclusion. Your better off symlinking the files you want to backup into a separate directory and then backing up that.

  • May need to be the other way round. Maintain the original config files in a folder somewhere under the folder that you are backing up, and have a symlink in the original location. Or, as bmaupin indicated, with hardlinks. – vanadium Jul 13 '18 at 15:56

According to the comments on this answer:


the only way to do it is to create hardlinks of the individual files you wish to be backed up in a folder that's backed up by Déjà Dup.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.