borg-rename.1 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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-RENAME" "1" "2025-04-18" "" "borg backup tool"
  31. .SH NAME
  32. borg-rename \- Rename an existing archive
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] rename [options] ARCHIVE NEWNAME
  36. .SH DESCRIPTION
  37. .sp
  38. This command renames an archive in the repository.
  39. .sp
  40. This results in a different archive ID.
  41. .SH OPTIONS
  42. .sp
  43. See \fIborg\-common(1)\fP for common options of Borg commands.
  44. .SS arguments
  45. .INDENT 0.0
  46. .TP
  47. .B ARCHIVE
  48. archive to rename
  49. .TP
  50. .B NEWNAME
  51. the new archive name to use
  52. .UNINDENT
  53. .SH EXAMPLES
  54. .INDENT 0.0
  55. .INDENT 3.5
  56. .sp
  57. .EX
  58. $ borg create /path/to/repo::archivename ~
  59. $ borg list /path/to/repo
  60. archivename Mon, 2016\-02\-15 19:50:19
  61. $ borg rename /path/to/repo::archivename newname
  62. $ borg list /path/to/repo
  63. newname Mon, 2016\-02\-15 19:50:19
  64. .EE
  65. .UNINDENT
  66. .UNINDENT
  67. .SH SEE ALSO
  68. .sp
  69. \fIborg\-common(1)\fP
  70. .SH AUTHOR
  71. The Borg Collective
  72. .\" Generated by docutils manpage writer.
  73. .