only keep snapshots for 24 hours
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user