| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 | .\" 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-REPO-LIST" 1 "2024-11-16" "" "borg backup tool".SH NAMEborg-repo-list \- List the archives contained in a repository.SH SYNOPSIS.spborg [common options] repo\-list [options].SH DESCRIPTION.spThis command lists the archives contained in a repository..SH OPTIONS.spSee \fIborg\-common(1)\fP for common options of Borg commands..SS optional arguments.INDENT 0.0.TP.B  \-\-shortonly print the archive IDs, nothing else.TP.BI \-\-format \ FORMATspecify format for archive listing (default: \(dq{archive:<36} {time} [{id}]{NL}\(dq).TP.B  \-\-jsonFormat output as JSON. The form of \fB\-\-format\fP is ignored, but keys used in it are added to the JSON output. Some keys are always present. Note: JSON can only represent text..UNINDENT.SS Archive filters.INDENT 0.0.TP.BI \-a \ PATTERN\fR,\fB \ \-\-match\-archives \ PATTERNonly consider archives matching all patterns. see \(dqborg help match\-archives\(dq..TP.BI \-\-sort\-by \ KEYSComma\-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; 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.TP.BI \-\-oldest \ TIMESPANconsider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g. 7d or 12m..TP.BI \-\-newest \ TIMESPANconsider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g. 7d or 12m..TP.BI \-\-older \ TIMESPANconsider archives older than (now \- TIMESPAN), e.g. 7d or 12m..TP.BI \-\-newer \ TIMESPANconsider archives newer than (now \- TIMESPAN), e.g. 7d or 12m..TP.B  \-\-deletedconsider only soft\-deleted archives..UNINDENT.SH EXAMPLES.INDENT 0.0.INDENT 3.5.sp.nf.ft C$ borg repo\-list151b1a57  Mon, 2024\-09\-23 22:57:11 +0200  docs             tw          MacBook\-Pro  this is a comment3387a079  Thu, 2024\-09\-26 09:07:07 +0200  scripts          tw          MacBook\-Proca774425  Thu, 2024\-09\-26 10:05:23 +0200  scripts          tw          MacBook\-Proba56c4a5  Thu, 2024\-09\-26 10:12:45 +0200  src              tw          MacBook\-Pro7567b79a  Thu, 2024\-09\-26 10:15:07 +0200  scripts          tw          MacBook\-Pro21ab3600  Thu, 2024\-09\-26 10:15:17 +0200  docs             tw          MacBook\-Pro\&....ft P.fi.UNINDENT.UNINDENT.SH NOTES.SS The FORMAT specifier syntax.spThe \fB\-\-format\fP option uses python\(aqs \fI\%format string syntax\fP\&..spExamples:.INDENT 0.0.INDENT 3.5.sp.nf.ft C$ borg repo\-list \-\-format \(aq{archive}{NL}\(aqArchiveFooArchiveBar\&...# {VAR:NUMBER} \- pad to NUMBER columns.# Strings are left\-aligned, numbers are right\-aligned.# Note: time columns except \(ga\(gaisomtime\(ga\(ga, \(ga\(gaisoctime\(ga\(ga and \(ga\(gaisoatime\(ga\(ga cannot be padded.$ borg repo\-list \-\-format \(aq{archive:36} {time} [{id}]{NL}\(aq /path/to/repoArchiveFoo                           Thu, 2021\-12\-09 10:22:28 [0b8e9...3b274]\&....ft P.fi.UNINDENT.UNINDENT.spThe following keys are always available:.INDENT 0.0.IP \(bu 2NEWLINE: OS dependent line separator.IP \(bu 2NL: alias of NEWLINE.IP \(bu 2NUL: NUL character for creating print0 / xargs \-0 like output.IP \(bu 2SPACE: space character.IP \(bu 2TAB: tab character.IP \(bu 2CR: carriage return character.IP \(bu 2LF: line feed character.UNINDENT.spKeys available only when listing archives in a repository:.INDENT 0.0.IP \(bu 2archive: archive name.IP \(bu 2name: alias of \(dqarchive\(dq.IP \(bu 2comment: archive comment.IP \(bu 2id: internal ID of the archive.IP \(bu 2tags: archive tags.IP \(bu 2start: time (start) of creation of the archive.IP \(bu 2time: alias of \(dqstart\(dq.IP \(bu 2end: time (end) of creation of the archive.IP \(bu 2command_line: command line which was used to create the archive.IP \(bu 2hostname: hostname of host on which this archive was created.IP \(bu 2username: username of user who created this archive.IP \(bu 2size: size of this archive (data plus metadata, not considering compression and deduplication).IP \(bu 2nfiles: count of files in this archive.UNINDENT.SH SEE ALSO.sp\fIborg\-common(1)\fP.SH AUTHORThe Borg Collective.\" Generated by docutils manpage writer..
 |