1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-05 06:55:53 +00:00
borg/docs/usage/compact.rst.inc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
1.1 KiB
PHP
Raw Normal View History

2018-07-12 20:00:19 +00:00
.. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
.. _borg_compact:
borg compact
------------
.. code-block:: none
2022-06-23 23:19:19 +00:00
borg [common options] compact [options]
2018-07-12 20:00:19 +00:00
.. only:: html
.. class:: borg-options-table
2024-09-07 20:31:48 +00:00
+-------------------------------------------------------+
| .. class:: borg-common-opt-ref |
| |
| :ref:`common_options` |
+-------------------------------------------------------+
2018-07-12 20:00:19 +00:00
.. raw:: html
<script type='text/javascript'>
$(document).ready(function () {
$('.borg-options-table colgroup').remove();
})
</script>
.. only:: latex
:ref:`common_options`
|
Description
~~~~~~~~~~~
2024-09-07 20:31:48 +00:00
Free repository space by deleting unused chunks.
2019-09-06 22:27:17 +00:00
2024-09-07 20:31:48 +00:00
borg compact analyzes all existing archives to find out which chunks are
actually used. There might be unused chunks resulting from borg delete or prune,
which can be removed to free space in the repository.
2019-09-06 22:27:17 +00:00
2024-09-07 20:31:48 +00:00
Differently than borg 1.x, borg2's compact needs the borg key if the repo is
encrypted.