borg-key-export.1 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH BORG-KEY-EXPORT 1 "2021-07-12" "" "borg backup tool"
  4. .SH NAME
  5. borg-key-export \- Export the repository key for backup
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. borg [common options] key export [options] [REPOSITORY] [PATH]
  36. .SH DESCRIPTION
  37. .sp
  38. If repository encryption is used, the repository is inaccessible
  39. without the key. This command allows to backup this essential key.
  40. Note that the backup produced does not include the passphrase itself
  41. (i.e. the exported key stays encrypted). In order to regain access to a
  42. repository, one needs both the exported key and the original passphrase.
  43. .sp
  44. There are two backup formats. The normal backup format is suitable for
  45. digital storage as a file. The \fB\-\-paper\fP backup format is optimized
  46. for printing and typing in while importing, with per line checks to
  47. reduce problems with manual input.
  48. .sp
  49. For repositories using keyfile encryption the key is saved locally
  50. on the system that is capable of doing backups. To guard against loss
  51. of this key, the key needs to be backed up independently of the main
  52. data backup.
  53. .sp
  54. For repositories using the repokey encryption the key is saved in the
  55. repository in the config file. A backup is thus not strictly needed,
  56. but guards against the repository becoming inaccessible if the file
  57. is damaged for some reason.
  58. .SH OPTIONS
  59. .sp
  60. See \fIborg\-common(1)\fP for common options of Borg commands.
  61. .SS arguments
  62. .sp
  63. REPOSITORY
  64. .INDENT 0.0
  65. .TP
  66. .B PATH
  67. where to store the backup
  68. .UNINDENT
  69. .SS optional arguments
  70. .INDENT 0.0
  71. .TP
  72. .B \-\-paper
  73. Create an export suitable for printing and later type\-in
  74. .TP
  75. .B \-\-qr\-html
  76. Create an html file suitable for printing and later type\-in or qr scan
  77. .UNINDENT
  78. .SH SEE ALSO
  79. .sp
  80. \fIborg\-common(1)\fP, \fIborg\-key\-import(1)\fP
  81. .SH AUTHOR
  82. The Borg Collective
  83. .\" Generated by docutils manpage writer.
  84. .