[IMP]Rsync volumes day backup, no more than 3 days
This commit is contained in:
parent
14da8910cb
commit
871df0cbf0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user