mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 00:37:56 +00:00
0a369c0985
- Group options - Nicer list of options in Sphinx - Deduplicate 'Common options' (including --help) The latter is done by explicitly declaring --help in the common_parser, which is then inherited by the sub-parsers; no change in observable behaviour.
34 lines
1,016 B
HTML
34 lines
1,016 B
HTML
.. _borg_migrate-to-repokey:
|
|
|
|
borg migrate-to-repokey
|
|
-----------------------
|
|
::
|
|
|
|
borg migrate-to-repokey <options> REPOSITORY
|
|
|
|
positional arguments
|
|
REPOSITORY
|
|
|
|
|
|
`Common options`_
|
|
|
|
|
|
|
Description
|
|
~~~~~~~~~~~
|
|
|
|
This command migrates a repository from passphrase mode (not supported any
|
|
more) to repokey mode.
|
|
|
|
You will be first asked for the repository passphrase (to open it in passphrase
|
|
mode). This is the same passphrase as you used to use for this repo before 1.0.
|
|
|
|
It will then derive the different secrets from this passphrase.
|
|
|
|
Then you will be asked for a new passphrase (twice, for safety). This
|
|
passphrase will be used to protect the repokey (which contains these same
|
|
secrets in encrypted form). You may use the same passphrase as you used to
|
|
use, but you may also use a different one.
|
|
|
|
After migrating to repokey mode, you can change the passphrase at any time.
|
|
But please note: the secrets will always stay the same and they could always
|
|
be derived from your (old) passphrase-mode passphrase.
|