duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] [PATCH] Warn if '--full-if-older-than' date is coming u


From: Ed Blackman
Subject: [Duplicity-talk] [PATCH] Warn if '--full-if-older-than' date is coming up soon
Date: Sat, 19 May 2012 23:22:33 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

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.

--
Ed Blackman

Attachment: full_backup_warning.patch
Description: Text Data

Attachment: signature.txt
Description: Digital signature


reply via email to

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