Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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?

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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