| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | .\" Man page generated from reStructuredText....nr rst2man-indent-level 0..de1 rstReportMargin\\$1 \\n[an-margin]level \\n[rst2man-indent-level]level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]-\\n[rst2man-indent0]\\n[rst2man-indent1]\\n[rst2man-indent2]...de1 INDENT.\" .rstReportMargin pre:. RS \\$1. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]. nr rst2man-indent-level +1.\" .rstReportMargin post:...de UNINDENT. RE.\" indent \\n[an-margin].\" old: \\n[rst2man-indent\\n[rst2man-indent-level]].nr rst2man-indent-level -1.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]].in \\n[rst2man-indent\\n[rst2man-indent-level]]u...TH "BORG-KEY-EXPORT" 1 "2022-06-26" "" "borg backup tool".SH NAMEborg-key-export \- Export the repository key for backup.SH SYNOPSIS.spborg [common options] key export [options] [PATH].SH DESCRIPTION.spIf repository encryption is used, the repository is inaccessiblewithout the key. This command allows one to backup this essential key.Note that the backup produced does not include the passphrase itself(i.e. the exported key stays encrypted). In order to regain access to arepository, one needs both the exported key and the original passphrase..spThere are three backup formats. The normal backup format is suitable fordigital storage as a file. The \fB\-\-paper\fP backup format is optimizedfor printing and typing in while importing, with per line checks toreduce problems with manual input. The \fB\-\-qr\-html\fP creates a printableHTML template with a QR code and a copy of the \fB\-\-paper\fP\-formatted key..spFor repositories using keyfile encryption the key is saved locallyon the system that is capable of doing backups. To guard against lossof this key, the key needs to be backed up independently of the maindata backup..spFor repositories using the repokey encryption the key is saved in therepository in the config file. A backup is thus not strictly needed,but guards against the repository becoming inaccessible if the fileis damaged for some reason..spExamples:.INDENT 0.0.INDENT 3.5.sp.nf.ft Cborg key export /path/to/repo > encrypted\-key\-backupborg key export \-\-paper /path/to/repo > encrypted\-key\-backup.txtborg key export \-\-qr\-html /path/to/repo > encrypted\-key\-backup.html# Or pass the output file as an argument instead of redirecting stdout:borg key export /path/to/repo encrypted\-key\-backupborg key export \-\-paper /path/to/repo encrypted\-key\-backup.txtborg key export \-\-qr\-html /path/to/repo encrypted\-key\-backup.html.ft P.fi.UNINDENT.UNINDENT.SH OPTIONS.spSee \fIborg\-common(1)\fP for common options of Borg commands..SS arguments.INDENT 0.0.TP.B PATHwhere to store the backup.UNINDENT.SS optional arguments.INDENT 0.0.TP.B  \-\-paperCreate an export suitable for printing and later type\-in.TP.B  \-\-qr\-htmlCreate an html file suitable for printing and later type\-in or qr scan.UNINDENT.SH SEE ALSO.sp\fIborg\-common(1)\fP, \fIborg\-key\-import(1)\fP.SH AUTHORThe Borg Collective.\" Generated by docutils manpage writer..
 |