1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 02:08:54 +00:00
borg/docs/usage/key_export.rst.inc

76 lines
4.1 KiB
PHP
Raw Normal View History

2016-10-01 16:23:36 +00:00
.. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
.. _borg_key_export:
borg key export
---------------
.. code-block:: none
2016-10-01 16:23:36 +00:00
2017-07-23 15:12:01 +00:00
borg [common options] key export [options] [REPOSITORY] [PATH]
2016-10-01 16:23:36 +00:00
2017-06-20 13:22:24 +00:00
.. only:: html
2017-06-20 09:49:26 +00:00
2017-06-20 13:22:24 +00:00
.. class:: borg-options-table
2016-10-01 16:23:36 +00:00
2017-06-20 13:22:24 +00:00
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| **positional arguments** |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| | ``REPOSITORY`` | |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| | ``PATH`` | where to store the backup |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| **optional arguments** |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| | ``--paper`` | Create an export suitable for printing and later type-in |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| | ``--qr-html`` | Create an html file suitable for printing and later type-in or qr scan |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
| .. class:: borg-common-opt-ref |
| |
| :ref:`common_options` |
+-------------------------------------------------------+----------------+------------------------------------------------------------------------+
2016-10-01 16:23:36 +00:00
2017-06-20 13:22:24 +00:00
.. raw:: html
2017-06-20 09:49:26 +00:00
2017-06-20 13:22:24 +00:00
<script type='text/javascript'>
$(document).ready(function () {
2017-06-20 13:22:24 +00:00
$('.borg-options-table colgroup').remove();
})
</script>
2016-10-01 16:23:36 +00:00
2017-06-20 13:22:24 +00:00
.. only:: latex
2017-06-20 13:22:24 +00:00
REPOSITORY
2017-06-20 13:22:24 +00:00
PATH
where to store the backup
optional arguments
--paper Create an export suitable for printing and later type-in
--qr-html Create an html file suitable for printing and later type-in or qr scan
:ref:`common_options`
|
2016-10-01 16:23:36 +00:00
Description
~~~~~~~~~~~
If repository encryption is used, the repository is inaccessible
without the key. This command allows to backup this essential key.
There are two backup formats. The normal backup format is suitable for
digital storage as a file. The ``--paper`` backup format is optimized
for printing and typing in while importing, with per line checks to
reduce problems with manual input.
For repositories using keyfile encryption the key is saved locally
on the system that is capable of doing backups. To guard against loss
of this key, the key needs to be backed up independently of the main
data backup.
For repositories using the repokey encryption the key is saved in the
repository in the config file. A backup is thus not strictly needed,
but guards against the repository becoming inaccessible if the file
2017-03-26 23:45:45 +00:00
is damaged for some reason.