Преглед изворни кода

Merge pull request #5905 from ThomasWaldmann/docs-key-hint-1.1

docs: clarify "you will need key and passphrase" borg init warning, fixes #4622
TW пре 3 година
родитељ
комит
ec42bc4dcb
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/borg/archiver.py

+ 1 - 0
src/borg/archiver.py

@@ -318,6 +318,7 @@ class Archiver:
             logger.warning(
             logger.warning(
                 '\n'
                 '\n'
                 'IMPORTANT: you will need both KEY AND PASSPHRASE to access this repo!\n'
                 'IMPORTANT: you will need both KEY AND PASSPHRASE to access this repo!\n'
+                'If you used a repokey mode, the key is stored in the repo, but you should back it up separately.\n'
                 'Use "borg key export" to export the key, optionally in printable format.\n'
                 'Use "borg key export" to export the key, optionally in printable format.\n'
                 'Write down the passphrase. Store both at safe place(s).\n')
                 'Write down the passphrase. Store both at safe place(s).\n')
         return self.exit_code
         return self.exit_code