0

To anyone used Duplicity with Duply (wrapper script) on S3, what is the correct command to make duplicity purge old backups?

I tried setting up the "MAX_AGE=7D" variable, and calling duply with backup_purge --force, but it still keeps all backups.

Thanks for any idea.

SyRenity
  • 3,159
  • 11
  • 55
  • 79

1 Answers1

1

Are you sure you know what to expect in this senario? The documentation on duplicity says that it uses incremental backups, making each additional backup a patch or changeset of the previously uploaded one. Deleting any old backup files would break the chain of files needed to piece together a full data set.

It appears to have a function to periodically do a full backup to clean up the incremental change chain with new full files. Have you set that up and run one recently? How are you observing that "it still keeps all backups"? Are you looking at S3 directly?

Caleb
  • 11,583
  • 4
  • 35
  • 49
  • Seems I didn't understand at time how it works indeed, shortening the amount of time incremental were kept sorted this out. – SyRenity Sep 26 '12 at 17:58