o distict the dash version from original work of Wes Barnett o circumvit any name clashes
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
###
|
|
# snapper template for dsnap-sync handling
|
|
###
|
|
|
|
# subvolume to snapshot
|
|
SUBVOLUME="/var/lib/dsnap-sync"
|
|
|
|
# filesystem type
|
|
FSTYPE="btrfs"
|
|
|
|
|
|
# users and groups allowed to work with config
|
|
ALLOW_USERS=""
|
|
ALLOW_GROUPS="adm"
|
|
|
|
# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots
|
|
# directory
|
|
SYNC_ACL="yes"
|
|
|
|
|
|
# start comparing pre- and post-snapshot in background after creating
|
|
# post-snapshot
|
|
BACKGROUND_COMPARISON="yes"
|
|
|
|
|
|
# run daily number cleanup
|
|
NUMBER_CLEANUP="no"
|
|
|
|
# limit for number cleanup
|
|
NUMBER_MIN_AGE="1800"
|
|
NUMBER_LIMIT="50"
|
|
NUMBER_LIMIT_IMPORTANT="10"
|
|
|
|
# "no": we will use systemd.timer
|
|
TIMELINE_CREATE="no"
|
|
|
|
# create cron based cleanup entries
|
|
# "no": we will use systemd.timer
|
|
TIMELINE_CLEANUP="no"
|
|
|
|
# snap-sync: timeline settings
|
|
TIMELINE_MIN_AGE="1800"
|
|
TIMELINE_LIMIT_HOURLY="1"
|
|
TIMELINE_LIMIT_DAILY="2"
|
|
TIMELINE_LIMIT_MONTHLY="1"
|
|
TIMELINE_LIMIT_YEARLY="1"
|
|
|
|
|
|
# cleanup empty pre-post-pairs
|
|
EMPTY_PRE_POST_CLEANUP="yes"
|
|
|
|
# limits for empty pre-post-pair cleanup
|
|
EMPTY_PRE_POST_MIN_AGE="1800"
|
|
|
|
# uncomment to exclude this subvol when calling
|
|
# snap-sync as timer unit
|
|
# SNAP_SUNC_EXCLUDE="yes"
|
|
|