From 907a5065ab5d4bd557c0c1786a649c6e334eeaa2 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 6 Aug 2021 16:55:53 +0200 Subject: [PATCH] documentation: add "resume" example; rephrase "ondemand" example --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6c246d8..02013d4 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,9 @@ Retention policy: snapshot_preserve_min 2d snapshot_preserve 14d + # Create snapshots only if the backup disk is attached + #snapshot_create ondemand + target_preserve_min no target_preserve 20d 10w *m @@ -218,10 +221,11 @@ Retention policy: * `/mnt/btr_backup/mylaptop/rootfs.YYYYMMDD` * `/mnt/btr_backup/mylaptop/home.YYYYMMDD` -If you want the snapshots to be created only if the backup disk is -attached, simply add the following line to the config: +If you prefer triggering the backups manually, change the cron command +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: