diff options
Diffstat (limited to 'modules/zfssnap/zfssnap.py')
-rw-r--r-- | modules/zfssnap/zfssnap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index 857244f1..6d9bc6de 100644 --- a/modules/zfssnap/zfssnap.py +++ b/modules/zfssnap/zfssnap.py | |||
@@ -120,6 +120,7 @@ def prune(config, dry_run, keep_newest): | |||
120 | ("4h", lambda t: (t.strftime('%Y-%m-%d'), floor(t.hour / 4) * 4)), | 120 | ("4h", lambda t: (t.strftime('%Y-%m-%d'), floor(t.hour / 4) * 4)), |
121 | ("12h", lambda t: (t.strftime('%Y-%m-%d'), floor(t.hour / 12) * 12)), | 121 | ("12h", lambda t: (t.strftime('%Y-%m-%d'), floor(t.hour / 12) * 12)), |
122 | ("daily", lambda t: t.strftime('%Y-%m-%d')), | 122 | ("daily", lambda t: t.strftime('%Y-%m-%d')), |
123 | ("halfweekly", lambda t: (t.strftime('%G-%V'), floor(int(t.strftime('%u')) / 4) * 4)), | ||
123 | ("weekly", lambda t: t.strftime('%G-%V')), | 124 | ("weekly", lambda t: t.strftime('%G-%V')), |
124 | ("monthly", lambda t: t.strftime('%Y-%m')), | 125 | ("monthly", lambda t: t.strftime('%Y-%m')), |
125 | ("yearly", lambda t: t.strftime('%Y')), | 126 | ("yearly", lambda t: t.strftime('%Y')), |