documentation: add "resume" example; rephrase "ondemand" example

pull/409/head
Axel Burri 2021-08-06 16:55:53 +02:00
parent bf0b5997e8
commit 907a5065ab
1 changed files with 7 additions and 3 deletions

View File

@ -193,6 +193,9 @@ Retention policy:
snapshot_preserve_min 2d snapshot_preserve_min 2d
snapshot_preserve 14d snapshot_preserve 14d
# Create snapshots only if the backup disk is attached
#snapshot_create ondemand
target_preserve_min no target_preserve_min no
target_preserve 20d 10w *m target_preserve 20d 10w *m
@ -218,10 +221,11 @@ Retention policy:
* `/mnt/btr_backup/mylaptop/rootfs.YYYYMMDD` * `/mnt/btr_backup/mylaptop/rootfs.YYYYMMDD`
* `/mnt/btr_backup/mylaptop/home.YYYYMMDD` * `/mnt/btr_backup/mylaptop/home.YYYYMMDD`
If you want the snapshots to be created only if the backup disk is If you prefer triggering the backups manually, change the cron command
attached, simply add the following line to the config: to run the `snapshot` action instead of `run`. Start the backups
manually by running:
snapshot_create ondemand # btrbk resume
For a quick additional snapshot of your home, run: For a quick additional snapshot of your home, run: