borg-backup-server: log prune output to file

This saves prune output to a log file automatically.  Add a bit more
info on the process too.

Change-Id: I2607ddbc313dfebc122609af78bb5eed63906f6b
This commit is contained in:
Ian Wienand
2021-08-04 14:44:27 +10:00
parent eb965a7992
commit 3d63b3b8a4
2 changed files with 12 additions and 5 deletions

View File

@@ -302,10 +302,13 @@ roll-back to a known good state; see
However, we have limited backup space. Each backup server has a
script ``/usr/local/bin/prune-borg-backups`` which can be run to
reclaim space. This will keep the last 7 days of backups, then
monthly backups for 1 year and yearly backups for each archive. The
backup servers will send a warning when backup volume usage is high,
at which point this can be run manually.
reclaim space. This should be run in a ``screen`` instance as it can
take a considerable time. It will prompt when run; you can confirm
the process with a ``noop`` run; confirming the prune will log the
output to ``/opt/backups``. This will keep the last 7 days of backups,
then monthly backups for 1 year and yearly backups for each archive.
The backup servers will send a warning when backup volume usage is
high, at which point this can be run manually.
.. _force-merging-a-change: