BORG-RLIST(1)
π borg-rlist β bestie edition π
ok so this is borg-rlist, one of the many little gems inside the borg backup tool (that's the manual name, btw β we're in section 1, the big girl section π). It does exactly one job and it does it beautifully: it lists the archives chillin' in a repository. That's it. That's the whole vibe. β¨
β¨ SYNOPSIS β¨
borg [common options] rlist [options]
πΈ DESCRIPTION πΈ
This command lists the archives contained in a repository. Like, all of them. It's giving inventory energy. You point it at a repo, it tells you what's in there, periodt. π
π OPTIONS π
See borg-common(1) for common options of Borg commands β those are the shared ones that every borg command gets to borrow, iykyk.
π options
--consider-checkpointsβ show checkpoint archives in the repository contents list. Default is hidden, so if you're wondering where your checkpoints wentβ¦ they're literally just being shy. π--shortβ only print the archive names, nothing else. No time, no id, no extra. Just names. Minimalist queen. β¨--format FORMATβ specify format for archive listing. Default is:"{archive:<36} {time} [{id}]{NL}"--jsonβ format output as JSON. The form of--formatis ignored, but keys used in it are added to the JSON output. Some keys are always present. Note: JSON can only represent text. (so like, no funky binary vibes in there, bestie π)
π¦ Archive filters
-a PATTERN,--match-archives PATTERNβ only consider archive names matching the pattern. seeborg help match-archives.--sort-by KEYSβ comma-separated list of sorting keys; valid keys are:timestamp,archive,name,id; default is:timestamp--first Nβ consider firstNarchives after other filters were applied--last Nβ consider lastNarchives after other filters were applied--oldest TIMESPANβ consider archives between the oldest archive's timestamp and (oldest +TIMESPAN), e.g.7dor12m.--newest TIMESPANβ consider archives between the newest archive's timestamp and (newest -TIMESPAN), e.g.7dor12m.--older TIMESPANβ consider archives older than (now -TIMESPAN), e.g.7dor12m.--newer TIMESPANβ consider archives newer than (now -TIMESPAN), e.g.7dor12m.
π EXAMPLES π
Look at her go:
$ borg rlist
Monday Mon, 2016-02-15 19:15:11
repo Mon, 2016-02-15 19:26:54
root-2016-02-15 Mon, 2016-02-15 19:36:29
newname Mon, 2016-02-15 19:50:19
...
π§ NOTES π§
π The FORMAT specifier syntax
The --format option uses python's format string syntax. So if you already know python f-strings, you're basically home free, bestie. π«Ά
Examples:
$ borg rlist --format '{archive}{NL}'
ArchiveFoo
ArchiveBar
...
# {VAR:NUMBER} - pad to NUMBER columns.
# Strings are left-aligned, numbers are right-aligned.
# Note: time columns except ``isomtime``, ``isoctime`` and ``isoatime`` cannot be padded.
$ borg rlist --format '{archive:36} {time} [{id}]{NL}' /path/to/repo
ArchiveFoo Thu, 2021-12-09 10:22:28 [0b8e9...3b274]
...
The following keys are always available:
NEWLINE: OS dependent line separatorNL: alias ofNEWLINENUL: NUL character for creating print0 / xargs -0 like outputSPACE: space characterTAB: tab characterCR: carriage return characterLF: line feed character
Keys available only when listing archives in a repository:
archive: archive namename: alias of"archive"comment: archive commentid: internal ID of the archivestart: time (start) of creation of the archivetime: alias of"start"end: time (end) of creation of the archivecommand_line: command line which was used to create the archivehostname: hostname of host on which this archive was createdusername: username of user who created this archivesize: size of this archive (data plus metadata, not considering compression and deduplication)nfiles: count of files in this archive
π SEE ALSO π
π AUTHOR π
The Borg Collective
ok that's the whole page, you ate that π½οΈπ borg-rlist, from the borg backup tool manual, dated 2024-04-01, section 1 β love u bestie, go list some archives π¦β¨π
π¦ where this page comes from
- ubuntu noble: borgbackup2 2.0.0b8-2build2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms