diff options
author | Emmanuel Tanimowo <Oluwasegunprosperity@gmail.com> | 2022-09-20 23:54:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 00:54:38 +0200 |
commit | f49133da04dd08546f49c8d587a351fb2bcb0c16 (patch) | |
tree | cc77d5c4077f47d6e742f005a6be744020651ab2 | |
parent | 44b4791e98a0dad4a4144f6e10a6bc22fef41d25 (diff) |
update automating backups script (#7039)
update "automating backups" script: remove last backslash, use --glob-archives
-rw-r--r-- | docs/quickstart.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 5e6343a5..4482bdde 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -191,7 +191,7 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac /etc \ /home \ /root \ - /var \ + /var backup_exit=$? @@ -204,11 +204,11 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac borg prune \ --list \ - --prefix '{hostname}-' \ + --glob-archives '{hostname}-*' \ --show-rc \ --keep-daily 7 \ --keep-weekly 4 \ - --keep-monthly 6 \ + --keep-monthly 6 prune_exit=$? |