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
|
target_preserve 0d 10w *m
|
||||||
|
|
||||||
volume ssh://192.168.0.42/mnt/btr_pool
|
volume ssh://192.168.0.42/mnt/btr_pool
|
||||||
|
target /mnt/btr_backup/my-laptop
|
||||||
subvolume home
|
subvolume home
|
||||||
snapshot_dir btrbk_snapshots
|
snapshot_dir btrbk_snapshots
|
||||||
snapshot_preserve_min all
|
snapshot_preserve_min all
|
||||||
snapshot_create no
|
snapshot_create no
|
||||||
|
|
||||||
target /mnt/btr_backup/my-laptop.com
|
|
||||||
|
|
||||||
If the server runs btrbk with this config, 10 weeklies and all
|
If the server runs btrbk with this config, 10 weeklies and all
|
||||||
monthlies are received from 192.168.0.42. The source filesystem is
|
monthlies are received from 192.168.0.42. The source filesystem is
|
||||||
never altered because of `snapshot_preserve_min all`.
|
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/
|
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
|
Then run btrbk, with myhost_sync configured *without any targets*:
|
||||||
follows:
|
|
||||||
|
|
||||||
volume /mnt/btr_backup
|
volume /mnt/btr_backup
|
||||||
subvolume myhost_sync
|
subvolume myhost_sync
|
||||||
|
|
Loading…
Reference in New Issue