mirror of https://github.com/digint/btrbk
documentation: README.md: adapt indentation in examples
parent
f5c7c74108
commit
725a284f16
|
@ -237,13 +237,12 @@ to only fetch the snapshots.
|
|||
target_preserve 0d 10w *m
|
||||
|
||||
volume ssh://192.168.0.42/mnt/btr_pool
|
||||
target /mnt/btr_backup/my-laptop
|
||||
subvolume home
|
||||
snapshot_dir btrbk_snapshots
|
||||
snapshot_preserve_min all
|
||||
snapshot_create no
|
||||
|
||||
target /mnt/btr_backup/my-laptop.com
|
||||
|
||||
If the server runs btrbk with this config, 10 weeklies and all
|
||||
monthlies are received from 192.168.0.42. The source filesystem is
|
||||
never altered because of `snapshot_preserve_min all`.
|
||||
|
@ -299,8 +298,7 @@ In your daily cron script, prior to running btrbk, sync your source to
|
|||
|
||||
rsync -a --inplace --delete -e ssh myhost.mydomain.com:/data/ /mnt/btr_backup/myhost_sync/
|
||||
|
||||
Then run btrbk, with myhost_sync configured *without any targets* as
|
||||
follows:
|
||||
Then run btrbk, with myhost_sync configured *without any targets*:
|
||||
|
||||
volume /mnt/btr_backup
|
||||
subvolume myhost_sync
|
||||
|
|
Loading…
Reference in New Issue