mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-22 15:57:15 +00:00
67 lines
1.5 KiB
Groff
67 lines
1.5 KiB
Groff
.\" Man page generated from reStructuredText.
|
|
.
|
|
.
|
|
.nr rst2man-indent-level 0
|
|
.
|
|
.de1 rstReportMargin
|
|
\\$1 \\n[an-margin]
|
|
level \\n[rst2man-indent-level]
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
-
|
|
\\n[rst2man-indent0]
|
|
\\n[rst2man-indent1]
|
|
\\n[rst2man-indent2]
|
|
..
|
|
.de1 INDENT
|
|
.\" .rstReportMargin pre:
|
|
. RS \\$1
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
. nr rst2man-indent-level +1
|
|
.\" .rstReportMargin post:
|
|
..
|
|
.de UNINDENT
|
|
. RE
|
|
.\" indent \\n[an-margin]
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
.nr rst2man-indent-level -1
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
..
|
|
.TH "BORG-COMPACT" 1 "2024-10-31" "" "borg backup tool"
|
|
.SH NAME
|
|
borg-compact \- Collect garbage in repository
|
|
.SH SYNOPSIS
|
|
.sp
|
|
borg [common options] compact [options]
|
|
.SH DESCRIPTION
|
|
.sp
|
|
Free repository space by deleting unused chunks.
|
|
.sp
|
|
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.
|
|
.sp
|
|
Differently than borg 1.x, borg2\(aqs compact needs the borg key if the repo is
|
|
encrypted.
|
|
.SH OPTIONS
|
|
.sp
|
|
See \fIborg\-common(1)\fP for common options of Borg commands.
|
|
.SH EXAMPLES
|
|
.INDENT 0.0
|
|
.INDENT 3.5
|
|
.sp
|
|
.nf
|
|
.ft C
|
|
# compact segments and free repo disk space
|
|
$ borg compact
|
|
.ft P
|
|
.fi
|
|
.UNINDENT
|
|
.UNINDENT
|
|
.SH SEE ALSO
|
|
.sp
|
|
\fIborg\-common(1)\fP
|
|
.SH AUTHOR
|
|
The Borg Collective
|
|
.\" Generated by docutils manpage writer.
|
|
.
|