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

I am using duply to backup files/directories to S3. I want a full backup once a month, and an incremental every day in between. I also want to keep all backups for up to a month, but I don't understand how purging works. In the conf file, I have set the following variables:

MAX_AGE=1M
MAX_FULL_BACKUPS=4
MAX_FULLS_WITH_INCRS=4
MAX_FULLBKP_AGE=1W
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "

I have set the following command in my crontab:

0 0 * * * duply my-profile backup

and everything seems to be working. The first backup was a full one. The second and third where incrementals.

What I expect this to do is:
Take a full backup once a week, incrementals in between and keep only 4 full backups, none of them older than a month.

questions:

  • Is my assumption correct or is there something more I should do?
  • Do I have to do anything else for purging to work?
share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.