← 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

    Status: Open => Answered

edso proposed the following answer:
On 16.03.2015 09:36, satish kumar wrote:
> Question #263472 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/263472
> 
>     Status: Answered => Open
> 
> satish kumar is still having a problem:
> Hello Aaron,
> 
> I hope you had a good weekend :),
> 
> Regarding the testing, to get the quick results for my setup I have
> modified the duply conf file as below : 30m , 5, 15m
> 
> # 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 "
> "
> Our acutal requirement is we would like to store at all times 2 weeks of full backups and incremental at anyone time – so there will always be just less than 3 weeks of backups at any one time – the backups will then rotate with the oldest full backups and associated incremental been deleted
> 
> So to test setup and get the results quick, I have made 30m , 5, 15m .
> Now the full backup rotates every 15 minutes, it is giving total of 1
> full backup and two incremental backup. I was expecting 4 full backups
> and 1 incremental backup. Please advise / correct my mistake.
> 

hey Satish,

what is your duply crontab entry, incl. time cols?

you read the manpage description for '--full-if-older-than' to understand what it does, right?
 http://duplicity.nongnu.org/duplicity.1.html

..ede/duply.net

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