diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2024-12-04 23:46:52 +0100 |
|---|---|---|
| committer | Ivan K. Boikov <mail@ikboikov.net> | 2026-07-26 20:48:58 +0200 |
| commit | e15bfe9a9cfa93acad12fcd5fa68810719daa051 (patch) | |
| tree | 8b414b5285d6996c869cab72ad1ecff9ed71ff9e | |
| parent | d0a0fc06a4a7082c7f05860b933517ed3e45dbdf (diff) | |
New drive
| -rw-r--r-- | fstab/fstab | 6 | ||||
| -rw-r--r-- | snapper/snapper/configs/tsb_16_0 | 64 |
2 files changed, 67 insertions, 3 deletions
diff --git a/fstab/fstab b/fstab/fstab index 86f2486..c9d103e 100644 --- a/fstab/fstab +++ b/fstab/fstab @@ -37,6 +37,6 @@ tmpfs /var/tmp/portage tmpfs rw,nosuid,noatime,nodev,size=24G,mode=775,uid=porta tmpfs /run tmpfs mode=0755,nosuid,nodev,rootcontext=system_u:object_r:var_run_t:s0 0 0 -UUID=364f2509-45c3-4a5c-b232-2654160439a2 /media/wdblue ext4 rw,nofail,noatime 0 0 - -UUID=1c9f0b6a-a8b5-4a7a-959f-821051b35107 /mnt/wdblue0 btrfs noatime,compress-force=zstd,autodefrag,subvol=@ 0 0 +UUID=161c7a95-7dbd-4111-9aa0-c5417a92f022 /mnt/tsb_16_0 btrfs nofail,noatime,nodev,nosuid,compress-force=zstd,autodefrag,subvol=@ 0 2 +UUID=1c9f0b6a-a8b5-4a7a-959f-821051b35107 /mnt/wdb_04_0 btrfs nofail,noatime,nodev,nosuid,compress-force=zstd,autodefrag,subvol=@ 0 0 +UUID=364f2509-45c3-4a5c-b232-2654160439a2 /mnt/wdb_04_1 ext4 nofail,noatime,nodev,nosuid 0 0 diff --git a/snapper/snapper/configs/tsb_16_0 b/snapper/snapper/configs/tsb_16_0 new file mode 100644 index 0000000..1717649 --- /dev/null +++ b/snapper/snapper/configs/tsb_16_0 @@ -0,0 +1,64 @@ + +# subvolume to snapshot +SUBVOLUME="/mnt/tsb_16_0" + +# 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="3600" +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="3600" +TIMELINE_LIMIT_HOURLY="10" +TIMELINE_LIMIT_DAILY="10" +TIMELINE_LIMIT_WEEKLY="0" +TIMELINE_LIMIT_MONTHLY="10" +TIMELINE_LIMIT_QUARTERLY="0" +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="3600" + |
