[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] [PATCH] Warn if '--full-if-older-than' date is comi
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] [PATCH] Warn if '--full-if-older-than' date is coming up soon |
Date: |
Sun, 20 May 2012 13:33:08 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
On 20.05.2012 05:22, Ed Blackman wrote:
> I run daily incremental duplicity backups with the --full-if-older-than
> option to do full backups on a fixed schedule every X days. I got tired of
> doing the date math to figure out whether a full backup was coming up soon,
> so I edited the duplicity script to add a notice message to the backup output
> if the full backup was coming soon (within 5 days).
>
> It works great for me, so I thought I would share it. Patch attached. It
> applies cleanly against the current version in BZR.
>
> It's not the cleanest code: the 5 days is hard-coded, and maybe the notice
> message could be better worded. But it works for me.
>
Good idea. How about simply stating the days until the next full per default?
Why exactly do you need to do when the next full is up?
..ede/duply.net