mirror of https://github.com/digint/btrbk
documentation: add "resume" example; rephrase "ondemand" example
parent
bf0b5997e8
commit
907a5065ab
10
README.md
10
README.md
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue