diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2024-09-07 00:34:06 +0200 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2024-09-07 00:34:06 +0200 |
| commit | 3cdbfd2cad544ebeb6843ec7e0d9f5c83b94a460 (patch) | |
| tree | fc7084059ff9a703b9f76b5af316b2fa579fbbb8 | |
| parent | 296040092a6cb57160687d6628469f7cc7f01227 (diff) | |
wdblue0 to snapper
| -rw-r--r-- | snapper/snapper/configs/wdblue0 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/snapper/snapper/configs/wdblue0 b/snapper/snapper/configs/wdblue0 new file mode 100644 index 0000000..636e9ba --- /dev/null +++ b/snapper/snapper/configs/wdblue0 @@ -0,0 +1,62 @@ + +# subvolume to snapshot +SUBVOLUME="/mnt/wdblue0" + +# filesystem type +FSTYPE="btrfs" + + +# btrfs qgroup for space aware cleanup algorithms +QGROUP="" + + +# fraction or absolute size of the filesystems space the snapshots may use +SPACE_LIMIT="0.5" + +# fraction or absolute size of the filesystems space that should be free +FREE_LIMIT="0.2" + + +# users and groups allowed to work with config +ALLOW_USERS="" +ALLOW_GROUPS="" + +# sync users and groups from ALLOW_USERS and ALLOW_GROUPS to .snapshots +# directory +SYNC_ACL="no" + + +# start comparing pre- and post-snapshot in background after creating +# post-snapshot +BACKGROUND_COMPARISON="yes" + + +# run daily number cleanup +NUMBER_CLEANUP="yes" + +# limit for number cleanup +NUMBER_MIN_AGE="1800" +NUMBER_LIMIT="50" +NUMBER_LIMIT_IMPORTANT="10" + + +# create hourly snapshots +TIMELINE_CREATE="yes" + +# cleanup hourly snapshots after some time +TIMELINE_CLEANUP="yes" + +# limits for timeline cleanup +TIMELINE_MIN_AGE="1800" +TIMELINE_LIMIT_HOURLY="10" +TIMELINE_LIMIT_DAILY="10" +TIMELINE_LIMIT_WEEKLY="0" +TIMELINE_LIMIT_MONTHLY="10" +TIMELINE_LIMIT_YEARLY="10" + + +# cleanup empty pre-post-pairs +EMPTY_PRE_POST_CLEANUP="yes" + +# limits for empty pre-post-pair cleanup +EMPTY_PRE_POST_MIN_AGE="1800" |
