Browse Source

update quickstart docs with --match-archives

Thomas Waldmann 2 years ago
parent
commit
4574ae0178
1 changed files with 6 additions and 6 deletions
  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=$?