| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 | .\" Man page generated from reStructuredText...TH BORG-DELETE 1 "2017-11-25" "" "borg backup tool".SH NAMEborg-delete \- Delete an existing repository or archives..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] delete [options] [TARGET] [ARCHIVE...].SH DESCRIPTION.spThis command deletes an archive from the repository or the complete repository.Disk space is reclaimed accordingly. If you delete the complete repository, thelocal cache for it (if any) is also deleted..spWhen using \fB\-\-stats\fP, you will get some statistics about how much data wasdeleted \- the "Deleted data" deduplicated size there is most interesting asthat is how much your repository will shrink.Please note that the "All archives" stats refer to the state after deletion..SH OPTIONS.spSee \fIborg\-common(1)\fP for common options of Borg commands..SS arguments.INDENT 0.0.TP.B TARGETarchive or repository to delete.TP.B ARCHIVEarchives to delete.UNINDENT.SS optional arguments.INDENT 0.0.TP.B \-s\fP,\fB  \-\-statsprint statistics for the deleted archive.TP.B \-\-cache\-onlydelete only the local cache for the given repository.TP.B \-\-forceforce deletion of corrupted archives, use \fB\-\-force \-\-force\fP in case \fB\-\-force\fP does not work..TP.B \-\-save\-spacework slower, but using less space.UNINDENT.SS Archive filters.INDENT 0.0.TP.BI \-P \ PREFIX\fP,\fB \ \-\-prefix \ PREFIXonly consider archive names starting with this prefix..TP.BI \-a \ GLOB\fP,\fB \ \-\-glob\-archives \ GLOBonly consider archive names matching the glob. sh: rules apply, see "borg help patterns". \fB\-\-prefix\fP and \fB\-\-glob\-archives\fP are mutually exclusive..TP.BI \-\-sort\-by \ KEYSComma\-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp.TP.BI \-\-first \ Nconsider first N archives after other filters were applied.TP.BI \-\-last \ Nconsider last N archives after other filters were applied.UNINDENT.SH EXAMPLES.INDENT 0.0.INDENT 3.5.sp.nf.ft C# delete a single backup archive:$ borg delete /path/to/repo::Monday# delete the whole repository and the related local cache:$ borg delete /path/to/repoYou requested to completely DELETE the repository *including* all archives it contains:repo                                 Mon, 2016\-02\-15 19:26:54root\-2016\-02\-15                      Mon, 2016\-02\-15 19:36:29newname                              Mon, 2016\-02\-15 19:50:19Type \(aqYES\(aq if you understand this and want to continue: YES.ft P.fi.UNINDENT.UNINDENT.SH SEE ALSO.sp\fIborg\-common(1)\fP.SH AUTHORThe Borg Collective.\" Generated by docutils manpage writer..
 |