key_change-location.rst.inc 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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] KEY_LOCATION
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  10. | **positional arguments** |
  11. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  12. | | ``KEY_LOCATION`` | select key location |
  13. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  14. | **options** |
  15. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  16. | | ``--keep`` | keep the key also at the current location (default: remove it) |
  17. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  18. | .. class:: borg-common-opt-ref |
  19. | |
  20. | :ref:`common_options` |
  21. +-------------------------------------------------------+------------------+----------------------------------------------------------------+
  22. .. raw:: html
  23. <script type='text/javascript'>
  24. $(document).ready(function () {
  25. $('.borg-options-table colgroup').remove();
  26. })
  27. </script>
  28. .. only:: latex
  29. KEY_LOCATION
  30. select key location
  31. options
  32. --keep keep the key also at the current location (default: remove it)
  33. :ref:`common_options`
  34. |
  35. Description
  36. ~~~~~~~~~~~
  37. Change the location of a borg key. The key can be stored at different locations:
  38. - keyfile: locally, usually in the home directory
  39. - repokey: inside the repo (in the repo config)
  40. Please note:
  41. This command does NOT change the crypto algorithms, just the key location,
  42. thus you must ONLY give the key location (keyfile or repokey).