[IMP]Rsync volumes day backup, no more than 3 days

This commit is contained in:
Fabien BOURGEOIS 2019-04-20 06:45:30 +02:00
parent 14da8910cb
commit 871df0cbf0
1 changed files with 1 additions and 1 deletions

View File

@ -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