← Back to team overview

duplicity-team team mailing list archive

Re: [Question #263472]: taking multiple full backups

 

Question #263472 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/263472

satish kumar gave more information on the question:
Hi Edso,

Your correct, we would like to store at all times 2 weeks of full
backups and incremental at anyone time ( This would be my acutal setup )
But this would require us to wait for 2 weeks to get the results.

Instead of waiting for weeks, I thought of making the test setup with 4
full backup and 1 incremental with : 30 , 5, 15

# Time frame for old backups to keep, Used for the "purge" command.
# see duplicity man page, chapter TIME_FORMATS)
# defaults to 1M, if not set
MAX_AGE=30m

# Number of full backups to keep. Used for the "purge-full" command.
# See duplicity man page, action "remove-all-but-n-full".
# defaults to 1, if not set
MAX_FULL_BACKUPS=5

# activates duplicity --full-if-older-than option (since duplicity v0.4.4.RC3)
# forces a full backup if last full backup reaches a specified age, for the
# format of MAX_FULLBKP_AGE see duplicity man page, chapter TIME_FORMATS
# Uncomment the following two lines to enable this setting.
MAX_FULLBKP_AGE=15m
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "

Crontab entry : 
 
*/5 * * * * env HOME=/root duply test backup_verify_purge-full --force


If this is successfull I would change the value in my actaul setup.  Basically we would need 4 full backup and one incremental. 

Thanks
Satish

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.