From 871df0cbf029515884d1742fa1085eb72f33dc96 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Sat, 20 Apr 2019 06:45:30 +0200 Subject: [PATCH] [IMP]Rsync volumes day backup, no more than 3 days --- backups/rsyncvolumes/plan.tpl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backups/rsyncvolumes/plan.tpl.py b/backups/rsyncvolumes/plan.tpl.py index a0da5a1..3a5e34b 100644 --- a/backups/rsyncvolumes/plan.tpl.py +++ b/backups/rsyncvolumes/plan.tpl.py @@ -56,7 +56,7 @@ def notkeep(fname): # if (delta.days %% 30) != 0: if (d.day != 1): return True - elif delta.days > 7: + elif delta.days > 2: # if (delta.days %% 7) != 0: if (d.weekday() != 0) and (d.day != 1): return True