| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 | .\" Man page generated from reStructuredText...TH BORG-COMPACT 1 "2020-12-06" "" "borg backup tool".SH NAMEborg-compact \- compact segment files in the repository..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...SH SYNOPSIS.spborg [common options] compact [options] [REPOSITORY].SH DESCRIPTION.spThis command frees repository space by compacting segments..spUse this regularly to avoid running out of space \- you do not need to use thisafter each borg command though. It is especially useful after deleting archives,because only compaction will really free repository space..spborg compact does not need a key, so it is possible to invoke it from theclient or also from the server..spDepending on the amount of segments that need compaction, it may take a while,so consider using the \fB\-\-progress\fP option..spA segment is compacted if the amount of saved space is above the percentage valuegiven by the \fB\-\-threshold\fP option. If ommitted, a threshold of 10% is used.When using \fB\-\-verbose\fP, borg will output an estimate of the freed space..spAfter upgrading borg (server) to 1.2+, you can use \fBborg compact \-\-cleanup\-commits\fPto clean up the numerous 17byte commit\-only segments that borg 1.1 did not clean updue to a bug. It is enough to do that once per repository..spSee \fIseparate_compaction\fP in Additional Notes for more details..SH OPTIONS.spSee \fIborg\-common(1)\fP for common options of Borg commands..SS arguments.INDENT 0.0.TP.B REPOSITORYrepository to compact.UNINDENT.SS optional arguments.INDENT 0.0.TP.B \-\-cleanup\-commitscleanup commit\-only 17\-byte segment files.TP.BI \-\-threshold \ PERCENTset minimum threshold for saved space in PERCENT (Default: 10).UNINDENT.SH EXAMPLES.INDENT 0.0.INDENT 3.5.sp.nf.ft C# compact segments and free repo disk space$ borg compact /path/to/repo# same as above plus clean up 17byte commit\-only segments$ borg compact \-\-cleanup\-commits /path/to/repo.ft P.fi.UNINDENT.UNINDENT.SH SEE ALSO.sp\fIborg\-common(1)\fP.SH AUTHORThe Borg Collective.\" Generated by docutils manpage writer..
 |