borgbackup/docs/man/borg-version.1

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
2 KiB
Groff
Raw Normal View History

2026-03-15 09:34:31 -04:00
.\" Man page generated from reStructuredText
.\" by the Docutils 0.22.4 manpage writer.
2024-02-20 11:12:43 -05:00
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
2026-06-16 08:17:43 -04:00
.TH "borg-version" "1" "2026-06-16" "" "borg backup tool"
2026-03-15 09:34:31 -04:00
.SH Name
2025-12-23 12:00:09 -05:00
borg-version \- Displays the Borg client and server versions.
2024-02-20 11:12:43 -05:00
.SH SYNOPSIS
.sp
borg [common options] version [options]
.SH DESCRIPTION
.sp
2025-12-23 12:00:09 -05:00
This command displays the Borg client and server versions.
2024-02-20 11:12:43 -05:00
.sp
2026-06-16 08:17:43 -04:00
For current repositories the client code directly accesses the repository (also for
rest:// repositories), so the client version is shown as the server version, too.
2024-02-20 11:12:43 -05:00
.sp
2026-06-16 08:17:43 -04:00
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.
2024-02-20 11:12:43 -05:00
.sp
Examples:
.INDENT 0.0
.INDENT 3.5
.sp
2025-04-21 15:07:46 -04:00
.EX
2025-12-23 12:00:09 -05:00
# local repository (client uses 1.4.0 alpha version)
2024-02-20 11:12:43 -05:00
$ borg version /mnt/backup
1.4.0a / 1.4.0a
2026-06-16 08:17:43 -04:00
# legacy remote repository (client uses 1.4.0 alpha, server uses 1.2.7 release)
$ borg version \-\-from\-borg1 ssh://borg@borgbackup:repo
2024-02-20 11:12:43 -05:00
1.4.0a / 1.2.7
2025-04-21 15:07:46 -04:00
.EE
2024-02-20 11:12:43 -05:00
.UNINDENT
.UNINDENT
.sp
2025-12-23 12:00:09 -05:00
Due to the version tuple format used in Borg client/server negotiation, only
2024-02-20 11:12:43 -05:00
a simplified version is displayed (as provided by borg.version.format_version).
.sp
2025-12-23 12:00:09 -05:00
You can also use \fBborg \-\-version\fP to display a potentially more precise client version.
2024-02-20 11:12:43 -05:00
.SH OPTIONS
.sp
See \fIborg\-common(1)\fP for common options of Borg commands.
.SH SEE ALSO
.sp
\fIborg\-common(1)\fP
2026-03-15 09:34:31 -04:00
.SH Author
2024-02-20 11:12:43 -05:00
The Borg Collective
2026-03-15 09:34:31 -04:00
.\" End of generated man page.