key_import.rst.inc 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 restores a key previously backed up with the export command.
  41. If the ``--paper`` option is given, the import will be an interactive
  42. process in which each line is checked for plausibility before
  43. proceeding to the next line. For this format PATH must not be given.