Compare commits

...

2 Commits

Author SHA1 Message Date
rolandu 4a22cd9a08
Merge 578fbe087e into 6de9ca87cf 2024-03-16 20:44:33 +01:00
rolandu 578fbe087e
Clarification of keyfile backup
Proposed clarification in response to my confusion in https://github.com/borgbackup/borg/issues/6204.
2022-01-30 20:26:12 +00:00
1 changed files with 6 additions and 4 deletions

View File

@ -414,10 +414,12 @@ How important is the $HOME/.config/borg directory?
The Borg config directory has content that you should take care of:
``keys`` subdirectory
All your borg keyfile keys are stored in this directory. Please note that
borg repokey keys are stored inside the repository. You MUST make sure to have an
independent backup of these keyfiles, otherwise you cannot access your backups anymore if you lose
them. You also MUST keep these files secret; everyone who gains access to your repository and has
All your borg keyfile keys are stored in this directory. Please note that borg repokey keys are stored inside the repository.
If you use keyfile encryption, you MUST make sure to have an independent backup of these keyfiles, otherwise you cannot access your backups anymore if you lose
them. If you use repokey encryption it is also highly recommended that you backup the keyfiles in case the originals (stored within the repository) get damaged. The best way to create a backup is using the ``borg key export`` command.
You also MUST keep these files secret; everyone who gains access to your repository and has
the corresponding keyfile (and the key passphrase) can extract it.
Make sure that only you have access to the Borg config directory.