| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 | .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!.. _borg_key_import:borg key import---------------.. code-block:: none    borg [common options] key import [options] [PATH].. only:: html    .. class:: borg-options-table    +-------------------------------------------------------+-------------+----------------------------------------------------------+    | **positional arguments**                                                                                                       |    +-------------------------------------------------------+-------------+----------------------------------------------------------+    |                                                       | ``PATH``    | path to the backup ('-' to read from stdin)              |    +-------------------------------------------------------+-------------+----------------------------------------------------------+    | **options**                                                                                                                    |    +-------------------------------------------------------+-------------+----------------------------------------------------------+    |                                                       | ``--paper`` | interactively import from a backup done with ``--paper`` |    +-------------------------------------------------------+-------------+----------------------------------------------------------+    | .. class:: borg-common-opt-ref                                                                                                 |    |                                                                                                                                |    | :ref:`common_options`                                                                                                          |    +-------------------------------------------------------+-------------+----------------------------------------------------------+    .. raw:: html        <script type='text/javascript'>        $(document).ready(function () {            $('.borg-options-table colgroup').remove();        })        </script>.. only:: latex    PATH        path to the backup ('-' to read from stdin)    options        --paper     interactively import from a backup done with ``--paper``    :ref:`common_options`        |Description~~~~~~~~~~~This command restores a key previously backed up with the export command.If the ``--paper`` option is given, the import will be an interactiveprocess in which each line is checked for plausibility beforeproceeding to the next line. For this format PATH must not be given.For repositories using keyfile encryption, the key file which ``borg keyimport`` writes to depends on several factors. If the ``BORG_KEY_FILE``environment variable is set and non-empty, ``borg key import`` createsor overwrites that file named by ``$BORG_KEY_FILE``. Otherwise, ``borgkey import`` searches in the ``$BORG_KEYS_DIR`` directory for a key fileassociated with the repository. If a key file is found in``$BORG_KEYS_DIR``, ``borg key import`` overwrites it; otherwise, ``borgkey import`` creates a new key file in ``$BORG_KEYS_DIR``.
 |