2016-07-05 21:30:08 +00:00
|
|
|
.. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
|
|
|
|
|
2015-11-13 15:42:16 +00:00
|
|
|
.. _borg_serve:
|
|
|
|
|
|
|
|
borg serve
|
|
|
|
----------
|
2017-06-06 22:44:53 +00:00
|
|
|
.. code-block:: none
|
2015-11-13 15:42:16 +00:00
|
|
|
|
2017-06-06 22:44:53 +00:00
|
|
|
borg [common options] serve [options]
|
2016-04-09 23:28:18 +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
|
2017-06-20 09:49:26 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| **optional arguments** |
|
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| | ``--restrict-to-path PATH`` | restrict repository access to PATH. Can be specified multiple times to allow the client access to several directories. Access to all sub-directories is granted implicitly; PATH doesn't need to directly point to a repository. |
|
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| | ``--restrict-to-repository PATH`` | restrict repository access. Only the repository located at PATH (no sub-directories are considered) is accessible. Can be specified multiple times to allow the client access to several repositories. Unlike ``--restrict-to-path`` sub-directories are not accessible; PATH needs to directly point at a repository location. PATH may be an empty directory or the last element of PATH may not exist, in which case the client may initialize a repository there. |
|
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| | ``--append-only`` | only allow appending to repository segment files |
|
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
2017-07-23 15:12:01 +00:00
|
|
|
| | ``--storage-quota QUOTA`` | Override storage quota of the repository (e.g. 5G, 1.5T). When a new repository is initialized, sets the storage quota on the new repository as well. Default: no quota. |
|
2017-06-20 13:22:24 +00:00
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| .. class:: borg-common-opt-ref |
|
|
|
|
| |
|
|
|
|
| :ref:`common_options` |
|
|
|
|
+-------------------------------------------------------+-----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
2017-06-20 09:49:26 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
.. raw:: html
|
2016-04-09 23:28:18 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
<script type='text/javascript'>
|
2017-06-20 13:48:30 +00:00
|
|
|
$(document).ready(function () {
|
2017-06-20 13:22:24 +00:00
|
|
|
$('.borg-options-table colgroup').remove();
|
|
|
|
})
|
|
|
|
</script>
|
2017-06-20 09:53:36 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
.. only:: latex
|
2017-06-20 09:53:36 +00:00
|
|
|
|
2016-04-09 23:28:18 +00:00
|
|
|
|
2017-06-20 13:22:24 +00:00
|
|
|
|
|
|
|
optional arguments
|
|
|
|
--restrict-to-path PATH restrict repository access to PATH. Can be specified multiple times to allow the client access to several directories. Access to all sub-directories is granted implicitly; PATH doesn't need to directly point to a repository.
|
|
|
|
--restrict-to-repository PATH restrict repository access. Only the repository located at PATH (no sub-directories are considered) is accessible. Can be specified multiple times to allow the client access to several repositories. Unlike ``--restrict-to-path`` sub-directories are not accessible; PATH needs to directly point at a repository location. PATH may be an empty directory or the last element of PATH may not exist, in which case the client may initialize a repository there.
|
2017-07-23 15:12:01 +00:00
|
|
|
--append-only only allow appending to repository segment files
|
|
|
|
--storage-quota QUOTA Override storage quota of the repository (e.g. 5G, 1.5T). When a new repository is initialized, sets the storage quota on the new repository as well. Default: no quota.
|
2017-06-20 13:22:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
:ref:`common_options`
|
|
|
|
|
|
|
|
|
|
2015-11-13 15:42:16 +00:00
|
|
|
Description
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
2017-03-26 23:45:45 +00:00
|
|
|
This command starts a repository server process. This command is usually not used manually.
|