borg-version.1 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 "2024-09-26" "" "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. .nf
  51. .ft C
  52. # local repo (client uses 1.4.0 alpha version)
  53. $ borg version /mnt/backup
  54. 1.4.0a / 1.4.0a
  55. # remote repo (client uses 1.4.0 alpha, server uses 1.2.7 release)
  56. $ borg version ssh://borg@borgbackup:repo
  57. 1.4.0a / 1.2.7
  58. .ft P
  59. .fi
  60. .UNINDENT
  61. .UNINDENT
  62. .sp
  63. Due to the version tuple format used in borg client/server negotiation, only
  64. a simplified version is displayed (as provided by borg.version.format_version).
  65. .sp
  66. There is also borg \-\-version to display a potentially more precise client version.
  67. .SH OPTIONS
  68. .sp
  69. See \fIborg\-common(1)\fP for common options of Borg commands.
  70. .SH SEE ALSO
  71. .sp
  72. \fIborg\-common(1)\fP
  73. .SH AUTHOR
  74. The Borg Collective
  75. .\" Generated by docutils manpage writer.
  76. .