key_import.rst.inc 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_key_import:
  3. borg key import
  4. ---------------
  5. .. code-block:: none
  6. borg [common options] key import [options] [REPOSITORY] [PATH]
  7. .. only:: html
  8. .. class:: borg-options-table
  9. +-------------------------------------------------------+----------------+----------------------------------------------------------+
  10. | **positional arguments** |
  11. +-------------------------------------------------------+----------------+----------------------------------------------------------+
  12. | | ``REPOSITORY`` | |
  13. +-------------------------------------------------------+----------------+----------------------------------------------------------+
  14. | | ``PATH`` | path to the backup ('-' to read from stdin) |
  15. +-------------------------------------------------------+----------------+----------------------------------------------------------+
  16. | **optional arguments** |
  17. +-------------------------------------------------------+----------------+----------------------------------------------------------+
  18. | | ``--paper`` | interactively import from a backup done with ``--paper`` |
  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. PATH
  33. path to the backup ('-' to read from stdin)
  34. optional arguments
  35. --paper interactively import from a backup done with ``--paper``
  36. :ref:`common_options`
  37. |
  38. Description
  39. ~~~~~~~~~~~
  40. This command allows to restore a key previously backed up with the
  41. export command.
  42. If the ``--paper`` option is given, the import will be an interactive
  43. process in which each line is checked for plausibility before
  44. proceeding to the next line. For this format PATH must not be given.