borg key export --paper /backup/repo

Category: Backup & Restore

borg key export --paper /backup/repo

Print the key as a paper backup

Prints the repository key formatted as text you can print and store offline, a last-resort recovery option. Scanning it back in later uses borg key import. Pair it with the passphrase written down separately.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.