only keep snapshots for 24 hours

This commit is contained in:
2024-08-01 22:47:31 -04:00
parent 54ac0a5729
commit 48911204a2

View File

@@ -601,7 +601,7 @@ Now set up the backup:
```conf ```conf
snapshot_create no snapshot_create no
target_preserve_min no target_preserve_min no
target_preserve 30d target_preserve 24h
# root # root
volume /btr_pools/root volume /btr_pools/root
@@ -614,12 +614,6 @@ Now set up the backup:
target /btr_pools/backup target /btr_pools/backup
subvolume home subvolume home
snapshot_dir .snapshots snapshot_dir .snapshots
# libvirt
volume /btr_pools/root
target /btr_pools/backup
subvolume libvirt
snapshot_dir .snapshots
``` ```
2. Create a backup service 2. Create a backup service