borg-version(1)
β¨ NAME β¨
borg-version β bestie, this is the one that tells you what version of borg you're running π
and also what version the server on the other end is running, which is a whole different vibe check.
πΈ SYNOPSIS πΈ
borg [common options] version [options] [REPOSITORY]
π DESCRIPTION π
okay so basically this command shows you the Borg client version and the Borg server version, side by side, like a little version duo π«Ά
Here's the teaaaa:
- If you hand it a local repository, the client code just reaches in and touches the repo directly, no middleman, no drama. So what happens? We show the client version as the server version too. Same number twice. It's giving twins π―
- If you hand it a remote repository (think something like
ssh:), then we actually go query the remote Borg and display its version as the server version. Long distance relationship, still slaying π₯
Examples, because visuals matter:
# local repo (client uses 1.4.0 alpha version)
$ borg version /mnt/backup
1.4.0a / 1.4.0a
# remote repo (client uses 1.4.0 alpha, server uses 1.2.7 release)
$ borg version ssh://borg@borgbackup:repo
1.4.0a / 1.2.7
Now, lowkey important detail: because of the version tuple format that Borg uses for client/server negotiation, only a simplified version gets displayed β that's the one provided by borg.version.format_version. So don't come for it if it looks a little trimmed, it's literally doing what the protocol allows π
Also!! There's borg --version which displays a potentially more precise client version. So if you want the full deets on the client only, go there. iykyk β¨
π OPTIONS π
See borg-common(1) for common options of Borg commands. All the shared stuff lives over there, bestie, go check it π¦
π arguments π
REPOSITORYβ the repository, used to determine the client/server situation π (like, are we local? are we remote? this arg is how the command figures out which version story to tell you)
π SEE ALSO π
π Author π
The Borg Collective
and that's the whole page, no cap π§ from the borg-version(1) page of the borg backup tool β source date 2026-07-18, manual section borg-version(1). mwah, go check your versions bestie ππ
π¦ where this page comes from
- alpine 3.24: borgbackup-doc 1.4.5-r0 Β· BSD-3-Clause
- arch rolling: borg 1.4.5-1 Β· BSD
- ubuntu stonking: borgbackup 1.4.5-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms