compact.rst 375 B

123456789101112131415
  1. .. include:: compact.rst.inc
  2. Examples
  3. ~~~~~~~~
  4. ::
  5. # compact segments and free repo disk space
  6. $ borg compact /path/to/repo
  7. # same as above plus clean up 17byte commit-only segments,
  8. # use this one time after upgrading borg (server) to 1.2+
  9. # to clean up the tiny segments files created by borg 1.1:
  10. $ borg compact --cleanup-commits /path/to/repo