add: skip scrub if recently scrubbed

This commit is contained in:
timeshifter
2021-12-02 16:20:55 +01:00
parent 359a6a99a8
commit a4e9b12c4c
2 changed files with 64 additions and 10 deletions
+3
View File
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
from uuid import UUID
from datetime import timedelta
# Name des lokalen Pools
local_pool_to_backup = "tank"
@@ -16,6 +17,8 @@ do_not_backup = [
"tank/docker",
]
recent_scrub_timedelta = timedelta(hours=24)
# überprüfe ob neue Snapshots mit diesen String-Teilen vorliegen
snapshot_tag = "znap"
snapshot_interval = "monthly"