borg-version(1)

πŸ“¦
version 1.4.5 Β· 4 versions
, in alpine 3.24, arch rolling, ubuntu stonking

✨ 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 πŸ’œ

borg-common(1)


πŸ‘‘ 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