2017-02-05 20:32:24 +00:00
|
|
|
.. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
|
|
|
|
|
|
|
|
.. _borg_key_migrate-to-repokey:
|
|
|
|
|
|
|
|
borg key migrate-to-repokey
|
|
|
|
---------------------------
|
2017-06-06 22:44:53 +00:00
|
|
|
.. code-block:: none
|
2017-02-05 20:32:24 +00:00
|
|
|
|
2017-07-23 15:12:01 +00:00
|
|
|
borg [common options] key migrate-to-repokey [options] [REPOSITORY]
|
2017-02-05 20:32:24 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
.. only:: html
|
2017-06-20 09:49:26 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
.. class:: borg-options-table
|
2017-02-05 20:32:24 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
+-------------------------------------------------------+----------------+--+
|
|
|
|
| **positional arguments** |
|
|
|
|
+-------------------------------------------------------+----------------+--+
|
|
|
|
| | ``REPOSITORY`` | |
|
|
|
|
+-------------------------------------------------------+----------------+--+
|
|
|
|
| .. class:: borg-common-opt-ref |
|
|
|
|
| |
|
|
|
|
| :ref:`common_options` |
|
|
|
|
+-------------------------------------------------------+----------------+--+
|
2017-02-05 20:32:24 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
.. raw:: html
|
2017-06-20 09:53:36 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
<script type='text/javascript'>
|
2017-06-20 13:48:30 +00:00
|
|
|
$(document).ready(function () {
|
2017-06-20 13:22:24 +00:00
|
|
|
$('.borg-options-table colgroup').remove();
|
|
|
|
})
|
|
|
|
</script>
|
2017-06-20 09:53:36 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
.. only:: latex
|
|
|
|
|
|
|
|
REPOSITORY
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:ref:`common_options`
|
|
|
|
|
|
2017-02-05 20:32:24 +00:00
|
|
|
|
|
|
|
Description
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
|
|
|
This command migrates a repository from passphrase mode (removed in Borg 1.0)
|
|
|
|
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
|
2017-03-26 23:45:45 +00:00
|
|
|
be derived from your (old) passphrase-mode passphrase.
|