duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Full backups every second Saturday?


From: edgar . soldin
Subject: Re: [Duplicity-talk] Full backups every second Saturday?
Date: Mon, 2 Jan 2017 16:50:43 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 02.01.2017 16:36, Grant via Duplicity-talk wrote:
>>> I'm running unattended backups and using --full-if-older-than 30D but
>>> a lot of the time it uploads a full backup on a weekday which causes
>>> the users sharing the network with my backup server to run into
>>> bandwidth problems.  How best to do full backups something like every
>>> second Saturday of the month?
>>>
>>> I was thinking I could just run the first backup on a Saturday and do
>>> --full-if-older-than 28D but then I'd have to remember to run the
>>> first backup on a Saturday if I start over again at some point.
>>>
>>
>> you probably use cron to run duplicity anyway. simply use it to run 
>> duplicity full/incr on the days as you want to.
>>
>> wrt. "full backups something like every second Saturday of the month" let 
>> yourself inspire by cron trickery similar to
>>   https://www.google.de/search?q=cron+last+sunday+of+month
> 
> 
> So I should separate my duplicity command into two commands with a
> separate full command and incremental command and let the crontab
> decide which one to run each day?  

yes

>That sounds a little wonky.

why? that's exactly why the commands are there.

> Perhaps I should set up a condition in the backup script to insert
> either 'full' or 'incremental' into the duplicity command based on an
> evaluation of the date.  Any better ideas?

all roads lead to rome eventually. where you put the date condition, doesn't 
matter really. have fun:) ..ede/duply.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]