mirror of https://github.com/digint/btrbk
documentation: tidy --dry-run, --print-schedule examples
parent
125b37468a
commit
5c561d8c14
|
@ -82,7 +82,7 @@ with this package. For a detailed description, please consult the
|
||||||
[btrbk.conf(5)] man-page.
|
[btrbk.conf(5)] man-page.
|
||||||
|
|
||||||
After a configuration change, it is highly recommended to check it by
|
After a configuration change, it is highly recommended to check it by
|
||||||
running btrbk with the `-n,--dryrun` option:
|
running btrbk with the `-n,--dry-run` option:
|
||||||
|
|
||||||
# btrbk -c /path/to/myconfig -v -n run
|
# btrbk -c /path/to/myconfig -v -n run
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ If you don't want to mount the btrfs root filesystem to
|
||||||
snapshot_dir /btrbk_snapshots
|
snapshot_dir /btrbk_snapshots
|
||||||
subvolume /home
|
subvolume /home
|
||||||
|
|
||||||
Start a dry run:
|
Start a dry run (-n, --dry-run):
|
||||||
|
|
||||||
# btrbk run -n
|
# btrbk run -n
|
||||||
|
|
||||||
|
@ -161,6 +161,10 @@ Create the first snapshot:
|
||||||
|
|
||||||
# btrbk run
|
# btrbk run
|
||||||
|
|
||||||
|
Print schedule (-S, --print-schedule):
|
||||||
|
|
||||||
|
# btrbk run -n -S
|
||||||
|
|
||||||
If it works as expected, configure a cron job to run btrbk hourly:
|
If it works as expected, configure a cron job to run btrbk hourly:
|
||||||
|
|
||||||
/etc/cron.hourly/btrbk:
|
/etc/cron.hourly/btrbk:
|
||||||
|
|
Loading…
Reference in New Issue