borg-version.1 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .
  4. .nr rst2man-indent-level 0
  5. .
  6. .de1 rstReportMargin
  7. \\$1 \\n[an-margin]
  8. level \\n[rst2man-indent-level]
  9. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  10. -
  11. \\n[rst2man-indent0]
  12. \\n[rst2man-indent1]
  13. \\n[rst2man-indent2]
  14. ..
  15. .de1 INDENT
  16. .\" .rstReportMargin pre:
  17. . RS \\$1
  18. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  19. . nr rst2man-indent-level +1
  20. .\" .rstReportMargin post:
  21. ..
  22. .de UNINDENT
  23. . RE
  24. .\" indent \\n[an-margin]
  25. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  26. .nr rst2man-indent-level -1
  27. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  28. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  29. ..
  30. .TH "BORG-VERSION" "1" "2025-05-22" "" "borg backup tool"
  31. .SH NAME
  32. borg-version \- Display the borg client / borg server version
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] version [options]
  36. .SH DESCRIPTION
  37. .sp
  38. This command displays the borg client version / borg server version.
  39. .sp
  40. If a local repo is given, the client code directly accesses the repository,
  41. thus we show the client version also as the server version.
  42. .sp
  43. If a remote repo is given (e.g. ssh:), the remote borg is queried and
  44. its version is displayed as the server version.
  45. .sp
  46. Examples:
  47. .INDENT 0.0
  48. .INDENT 3.5
  49. .sp
  50. .EX
  51. # local repo (client uses 1.4.0 alpha version)
  52. $ borg version /mnt/backup
  53. 1.4.0a / 1.4.0a
  54. # remote repo (client uses 1.4.0 alpha, server uses 1.2.7 release)
  55. $ borg version ssh://borg@borgbackup:repo
  56. 1.4.0a / 1.2.7
  57. .EE
  58. .UNINDENT
  59. .UNINDENT
  60. .sp
  61. Due to the version tuple format used in borg client/server negotiation, only
  62. a simplified version is displayed (as provided by borg.version.format_version).
  63. .sp
  64. There is also borg \-\-version to display a potentially more precise client version.
  65. .SH OPTIONS
  66. .sp
  67. See \fIborg\-common(1)\fP for common options of Borg commands.
  68. .SH SEE ALSO
  69. .sp
  70. \fIborg\-common(1)\fP
  71. .SH AUTHOR
  72. The Borg Collective
  73. .\" Generated by docutils manpage writer.
  74. .