4

I use duplicity to manage an encrypted daily incremental and weekly full backup schedule for my Linux box. Though duplicity allows incremental backups, I could not find any way to do anything other than a full restore.

I'm running a 2nd server where I restore the duplicity backup, but I want to keep this 2nd server in sync with the original server through the duplicity backups. The only way that's happening now is if I remove all files on the 2nd server and do a full restore through duplicity every time which is wasteful and slow.

Is there no way to do an "incremental restore" in duplicity which only updates changed files in the restore destination?

2

I don't think you want to be using Duplicity to keep your second server up to date with your primary. This is why rsync exists and would suit your needs perfectly.

5
  • I disagree with the "want" part. If I'm already using an rsync-based protocol to sync changes in an encrypted, incremental fashion to a remote server, I would WANT to reduce the redundant bandwidth / CPU usage on my production server in repeating the whole process for a backup to a different server (albeit in a slightly different form). The question is whether or not duplicity supports this behavior, or as an added plus if it's planned in the future (I see no mention of it in their mailing lists)
    – Asad R.
    Jan 14 '13 at 15:32
  • 1
    I understand what you're saying. Could you do something like having prodserver rsync to devserver and then use Duplicity to backup from devserver? Jan 14 '13 at 17:41
  • Did that work for you? Jan 16 '13 at 20:11
  • I guess the answer to the original question is that duplicity does in fact not have this feature.
    – Asad R.
    Jan 17 '13 at 12:32
  • Asad, have you tried this option? The -t allows you to specify to Duplicity to only restore after a certain time. Here's an example: duplicity -t 2010-09-22T01:10:00 s3+http://com.mycorp.myhost.backup ~/restore Jan 18 '13 at 3:52

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.