rattail-manual/docs/backup/compact.rst

15 lines
456 B
ReStructuredText

============================
Freeing Archive Disk Space
============================
Periodically to free disk space used by Borg archive storage, run the
``borg compact`` command with your repo URL:
.. code-block:: sh
sudo borg compact --progress --verbose borg@cloud.example.com:/path/to/borg-repos/myserver
The first time you do so, specify ``--cleanup-commits`` to ensure legacy cruft is removed.
For more info see :doc:`borg:usage/compact`.