---
name: "borg2-version"
section: "1"
platform: "linux"
package: "borgbackup2"
version: "2.0.0b19-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/borg2-version"
---

# borg2-version(1)

Display the borg client / borg server version

## NAME

borg-version - Display the borg client / borg server version

## SYNOPSIS

borg \[common options\] version \[options\]

## DESCRIPTION

This command displays the borg client version / borg server version.

If a local repo is given, the client code directly accesses the repository, thus we show the client version also as the server version.

If a remote repo is given (e.g. ssh:), the remote borg is queried and its version is displayed as the server version.

Examples:

```
# 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
```

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).

There is also borg --version to display a potentially more precise client version.

## OPTIONS

See *[borg-common(1)](/borg-common/1.md)* for common options of Borg commands.

## SEE ALSO

*[borg-common(1)](/borg-common/1.md)*

## AUTHOR

The Borg Collective
