mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 19:01:58 +00:00
16 lines
375 B
ReStructuredText
16 lines
375 B
ReStructuredText
|
.. include:: compact.rst.inc
|
||
|
|
||
|
Examples
|
||
|
~~~~~~~~
|
||
|
::
|
||
|
|
||
|
# compact segments and free repo disk space
|
||
|
$ borg compact /path/to/repo
|
||
|
|
||
|
# same as above plus clean up 17byte commit-only segments,
|
||
|
# use this one time after upgrading borg (server) to 1.2+
|
||
|
# to clean up the tiny segments files created by borg 1.1:
|
||
|
$ borg compact --cleanup-commits /path/to/repo
|
||
|
|
||
|
|