Ubuntu – Using duplicity directly, is it possible to have multiple backup plans

backupduplicity

If I understand correctly, duplicity is the command line tool for creating backups and can be used stand-alone (i.e. no DejaDup involved) for creating backups.

Is it possible to set up multiple backup plans with different schedules and sources/targets?
In particular I would like to:

  • regularly back up my complete home folder as I do now with deja-dup, i.e. whenever I connect my external drive and the backup is due.
  • back up different sets of folders to a remote server (Strato HiDrive, so ftp, smb or rsync) on a manual basis (ideally just a "trigger" command I issue) since I need to be in a place with fast internet connection to do this (I am speaking about ~200 GB here)

I think this would just need some time setting up the different commands for the remote backup. The local backup could stay in DejaDup.
But will duplicity be able to handle this? Or will it get confused with the different backups?
Also: what will the performance for the remote backups be like?
How will the actual diff+copy mechanism work in the remote case?

Why I ask this is just that with DejaDup I only get one backup plan, Back in Time only supports local copies (so I would have to mount the ftp locally and diff there which seems a waste of bandwidth) and rsnapshot uses hardlinks and is thus required to run on the target). but duplicity seems to be able to do what I want…

Best Answer

In general, the answer is yes. Duplicity is highly flexible and you can back up different portions of your system differently. It's all about mastering the duplicity command line, however.