dsnap-sync template: snapper options for derived dsnap-sync configs
- adapt to rely on systemd units - enable timeline cleanups, since snapshots are marked to support this algorithm - typo correction for SNAP_SYNC_EXCLUDE
This commit is contained in:
@@ -23,24 +23,23 @@ SYNC_ACL="yes"
|
|||||||
BACKGROUND_COMPARISON="yes"
|
BACKGROUND_COMPARISON="yes"
|
||||||
|
|
||||||
|
|
||||||
# run daily number cleanup
|
# handele NUMBER_CLEANUP via systemd, if a timer unit is active
|
||||||
NUMBER_CLEANUP="no"
|
NUMBER_CLEANUP="yes"
|
||||||
|
|
||||||
# limit for number cleanup
|
# limit for number cleanup
|
||||||
NUMBER_MIN_AGE="1800"
|
NUMBER_MIN_AGE="1800"
|
||||||
NUMBER_LIMIT="50"
|
NUMBER_LIMIT="52"
|
||||||
NUMBER_LIMIT_IMPORTANT="10"
|
NUMBER_LIMIT_IMPORTANT="12"
|
||||||
|
|
||||||
# "no": we will use systemd.timer
|
# handle TIMELINE via systemd, if a timer unit is active
|
||||||
TIMELINE_CREATE="no"
|
TIMELINE_CREATE="yes"
|
||||||
|
|
||||||
# create cron based cleanup entries
|
# create a systemd.timer unit to handle TIMELINE cleanup
|
||||||
# "no": we will use systemd.timer
|
TIMELINE_CLEANUP="yes"
|
||||||
TIMELINE_CLEANUP="no"
|
|
||||||
|
|
||||||
# snap-sync: timeline settings
|
# timeline settings
|
||||||
TIMELINE_MIN_AGE="1800"
|
TIMELINE_MIN_AGE="1800"
|
||||||
TIMELINE_LIMIT_HOURLY="0"
|
TIMELINE_LIMIT_HOURLY="1"
|
||||||
TIMELINE_LIMIT_DAILY="14"
|
TIMELINE_LIMIT_DAILY="14"
|
||||||
TIMELINE_LIMIT_MONTHLY="11"
|
TIMELINE_LIMIT_MONTHLY="11"
|
||||||
TIMELINE_LIMIT_YEARLY="2"
|
TIMELINE_LIMIT_YEARLY="2"
|
||||||
@@ -54,7 +53,7 @@ EMPTY_PRE_POST_MIN_AGE="1800"
|
|||||||
|
|
||||||
# uncomment to exclude this subvol when calling
|
# uncomment to exclude this subvol when calling
|
||||||
# snap-sync as timer unit
|
# snap-sync as timer unit
|
||||||
# SNAP_SUNC_EXCLUDE="yes"
|
# SNAP_SYNC_EXCLUDE="yes"
|
||||||
|
|
||||||
# uncomment if your config will be used as snapshot-clone
|
# uncomment if your config will be used as snapshot-clone
|
||||||
#CHILD_CONFIG=true
|
#CHILD_CONFIG=true
|
||||||
|
|||||||
Reference in New Issue
Block a user