| borg-version(1) | borg backup tool | borg-version(1) |
Name¶
borg-version - Displays the Borg client and server versions.
SYNOPSIS¶
borg [common options] version [options]
DESCRIPTION¶
This command displays the Borg client and server versions.
For current repositories the client code directly accesses the repository (also for <ssh://> repositories), so the client version is shown as the server version, too.
If a legacy (borg 1.x / v1) repository is given via <ssh://> together with --from-borg1, the remote Borg is queried, and its version is displayed as the server version.
Examples:
# local repository $ borg -r /mnt/backup version 2.0.0 / 2.0.0 # legacy remote repository (client uses 2.0.0, server uses 1.4.5 release) $ borg -r ssh://borg@borgbackup/repo version --from-borg1 2.0.0 / 1.4.5
Due to the version tuple format used in Borg client/server negotiation, only a simplified version is displayed (as provided by borg.version.format_version).
You can also use borg --version to display a potentially more precise client version.
OPTIONS¶
See borg-common(1) for common options of Borg commands.
options¶
- --json
- format output as JSON
- --from-borg1
- repository is Borg 1.x
SEE ALSO¶
Author¶
The Borg Collective
| 2026-10-07 |