File: compact.rst

package info (click to toggle)
borgbackup 1.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 15,724 kB
  • sloc: python: 26,737; pascal: 3,253; ansic: 2,625; sh: 231; makefile: 133; tcl: 94
file content (13 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
.. include:: compact.rst.inc

Examples
~~~~~~~~
::

    # compact segments and free repo disk space
    $ borg compact /path/to/repo

    # same as above plus clean up 17-byte commit-only segments
    $ borg compact --cleanup-commits /path/to/repo