浏览代码

Clarify --files flag action in documentation (#554).

Dan Helfman 3 年之前
父节点
当前提交
2e0b2a308f
共有 1 个文件被更改,包括 9 次插入4 次删除
  1. 9 4
      docs/how-to/set-up-backups.md

+ 9 - 4
docs/how-to/set-up-backups.md

@@ -226,15 +226,20 @@ good idea to test that borgmatic is working. So to run borgmatic and start a
 backup, you can invoke it like this:
 backup, you can invoke it like this:
 
 
 ```bash
 ```bash
-sudo borgmatic --verbosity 1 --files
+sudo borgmatic create --verbosity 1 --files
 ```
 ```
 
 
 (No borgmatic `--files` flag? It's only present in newer versions of
 (No borgmatic `--files` flag? It's only present in newer versions of
 borgmatic. So try leaving it out, or upgrade borgmatic!)
 borgmatic. So try leaving it out, or upgrade borgmatic!)
 
 
-By default, this will also prune any old backups as per the configured
-retention policy, compact segments to free up space (with Borg 1.2+), and
-check backups for consistency problems due to things like file damage.
+Or, you can omit the `create` action to prune any old backups as per the
+configured retention policy, compact segments to free up space (with Borg
+1.2+), create a backup, *and* check backups for consistency problems due to
+things like file damage:
+
+```bash
+sudo borgmatic --verbosity 1 --files
+```
 
 
 The verbosity flag makes borgmatic show the steps it's performing. And the
 The verbosity flag makes borgmatic show the steps it's performing. And the
 files flag lists each file that's new or changed since the last backup.
 files flag lists each file that's new or changed since the last backup.