borg-key-export.1 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH BORG-KEY-EXPORT 1 "2017-11-25" "" "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 one 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 three 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. The \fB\-\-qr\-html\fP creates a printable
  48. HTML template with a QR code and a copy of the \fB\-\-paper\fP\-formatted key.
  49. .sp
  50. For repositories using keyfile encryption the key is saved locally
  51. on the system that is capable of doing backups. To guard against loss
  52. of this key, the key needs to be backed up independently of the main
  53. data backup.
  54. .sp
  55. For repositories using the repokey encryption the key is saved in the
  56. repository in the config file. A backup is thus not strictly needed,
  57. but guards against the repository becoming inaccessible if the file
  58. is damaged for some reason.
  59. .SH OPTIONS
  60. .sp
  61. See \fIborg\-common(1)\fP for common options of Borg commands.
  62. .SS arguments
  63. .sp
  64. REPOSITORY
  65. .INDENT 0.0
  66. .TP
  67. .B PATH
  68. where to store the backup
  69. .UNINDENT
  70. .SS optional arguments
  71. .INDENT 0.0
  72. .TP
  73. .B \-\-paper
  74. Create an export suitable for printing and later type\-in
  75. .TP
  76. .B \-\-qr\-html
  77. Create an html file suitable for printing and later type\-in or qr scan
  78. .UNINDENT
  79. .SH SEE ALSO
  80. .sp
  81. \fIborg\-common(1)\fP, \fIborg\-key\-import(1)\fP
  82. .SH AUTHOR
  83. The Borg Collective
  84. .\" Generated by docutils manpage writer.
  85. .