From 5c561d8c14a9c1b00b7246bad0b68f8528ab5973 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Wed, 16 Nov 2022 01:37:12 +0100 Subject: [PATCH] documentation: tidy --dry-run, --print-schedule examples --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f2c01e3..edf8d45 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ with this package. For a detailed description, please consult the [btrbk.conf(5)] man-page. 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 @@ -153,7 +153,7 @@ If you don't want to mount the btrfs root filesystem to snapshot_dir /btrbk_snapshots subvolume /home -Start a dry run: +Start a dry run (-n, --dry-run): # btrbk run -n @@ -161,6 +161,10 @@ Create the first snapshot: # btrbk run +Print schedule (-S, --print-schedule): + + # btrbk run -n -S + If it works as expected, configure a cron job to run btrbk hourly: /etc/cron.hourly/btrbk: