key_change-location.rst.inc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_key_change-location:
  3. borg key change-location
  4. ------------------------
  5. .. code-block:: none
  6. borg [common options] key change-location [options] [REPOSITORY] KEY_LOCATION
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  10. | **positional arguments** |
  11. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  12. | | ``REPOSITORY`` | |
  13. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  14. | | ``KEY_LOCATION`` | select key location |
  15. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  16. | **optional arguments** |
  17. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  18. | | ``--keep`` | keep the key also at the current location (default: remove it) |
  19. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  20. | .. class:: borg-common-opt-ref |
  21. | |
  22. | :ref:`common_options` |
  23. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  24. .. raw:: html
  25. <script type='text/javascript'>
  26. $(document).ready(function () {
  27. $('.borg-options-table colgroup').remove();
  28. })
  29. </script>
  30. .. only:: latex
  31. REPOSITORY
  32. KEY_LOCATION
  33. select key location
  34. optional arguments
  35. --keep keep the key also at the current location (default: remove it)
  36. :ref:`common_options`
  37. |
  38. Description
  39. ~~~~~~~~~~~
  40. Change the location of a borg key. The key can be stored at different locations:
  41. keyfile: locally, usually in the home directory
  42. repokey: inside the repo (in the repo config)
  43. Note: this command does NOT change the crypto algorithms, just the key location,
  44. thus you must ONLY give the key location (keyfile or repokey).