浏览代码

update quickstart docs with --match-archives

Thomas Waldmann 2 年之前
父节点
当前提交
4574ae0178
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      docs/quickstart.rst

+ 6 - 6
docs/quickstart.rst

@@ -200,12 +200,12 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac
     # limit prune's operation to this machine's archives and not apply to
     # other machines' archives also:
 
-    borg prune                          \
-        --list                          \
-        --glob-archives '{hostname}-*'  \
-        --show-rc                       \
-        --keep-daily    7               \
-        --keep-weekly   4               \
+    borg prune                              \
+        --list                              \
+        --match-archives 'sh:{hostname}-*'  \
+        --show-rc                           \
+        --keep-daily    7                   \
+        --keep-weekly   4                   \
         --keep-monthly  6
 
     prune_exit=$?