key_migrate-to-repokey.rst.inc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_key_migrate-to-repokey:
  3. borg key migrate-to-repokey
  4. ---------------------------
  5. .. code-block:: none
  6. borg [common options] key migrate-to-repokey [options] [REPOSITORY]
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-------------------------------------------------------+----------------+--+
  10. | **positional arguments** |
  11. +-------------------------------------------------------+----------------+--+
  12. | | ``REPOSITORY`` | |
  13. +-------------------------------------------------------+----------------+--+
  14. | .. class:: borg-common-opt-ref |
  15. | |
  16. | :ref:`common_options` |
  17. +-------------------------------------------------------+----------------+--+
  18. .. raw:: html
  19. <script type='text/javascript'>
  20. $(document).ready(function () {
  21. $('.borg-options-table colgroup').remove();
  22. })
  23. </script>
  24. .. only:: latex
  25. REPOSITORY
  26. :ref:`common_options`
  27. |
  28. Description
  29. ~~~~~~~~~~~
  30. This command migrates a repository from passphrase mode (removed in Borg 1.0)
  31. to repokey mode.
  32. You will be first asked for the repository passphrase (to open it in passphrase
  33. mode). This is the same passphrase as you used to use for this repo before 1.0.
  34. It will then derive the different secrets from this passphrase.
  35. Then you will be asked for a new passphrase (twice, for safety). This
  36. passphrase will be used to protect the repokey (which contains these same
  37. secrets in encrypted form). You may use the same passphrase as you used to
  38. use, but you may also use a different one.
  39. After migrating to repokey mode, you can change the passphrase at any time.
  40. But please note: the secrets will always stay the same and they could always
  41. be derived from your (old) passphrase-mode passphrase.