docs: add manukal page for remote.cfg

This commit is contained in:
Dietmar Maurer
2021-02-11 11:25:15 +01:00
parent 3084232cb5
commit 6279b8f5a5
7 changed files with 83 additions and 10 deletions

View File

@ -10,6 +10,7 @@ GENERATED_SYNOPSIS := \
backup-protocol-api.rst \
reader-protocol-api.rst \
config/user/config.rst \
config/remote/config.rst \
config/datastore/config.rst
MAN1_PAGES := \
@ -22,6 +23,7 @@ MAN1_PAGES := \
MAN5_PAGES := \
user.cfg.5 \
remote.cfg.5 \
datastore.cfg.5
PRUNE_SIMULATOR_FILES := \
@ -94,13 +96,19 @@ pmt.1: pmt/man1.rst pmt/description.rst pmt/synopsis.rst
config/datastore/config.rst: ${COMPILEDIR}/docgen
${COMPILEDIR}/docgen datastore.cfg >$@
datastore.cfg.5: config/datastore/man5.rst config/datastore/config.rst
datastore.cfg.5: config/datastore/man5.rst config/datastore/config.rst config/datastore/format.rst
rst2man $< >$@
config/user/config.rst: ${COMPILEDIR}/docgen
${COMPILEDIR}/docgen user.cfg >$@
user.cfg.5: config/user/man5.rst config/user/config.rst
user.cfg.5: config/user/man5.rst config/user/config.rst config/user/format.rst
rst2man $< >$@
config/remote/config.rst: ${COMPILEDIR}/docgen
${COMPILEDIR}/docgen remote.cfg >$@
remote.cfg.5: config/remote/man5.rst config/remote/config.rst config/remote/format.rst
rst2man $< >$@
proxmox-backup-client/synopsis.rst: ${COMPILEDIR}/proxmox-backup-client

View File

@ -0,0 +1,17 @@
This file contains information used to access remote servers.
Each entry starts with a header ``remote: <name>``, followed by the
remote configuration options.
::
remote: server1
host server1.local
auth-id sync@pbs
...
remote: ...
You can use the ``proxmox-backup-manager remote`` command to manipulate
this file.

View File

@ -0,0 +1,35 @@
==========================
remote.cfg
==========================
.. include:: ../../epilog.rst
-------------------------------------------------------------
Remote Server Configuration
-------------------------------------------------------------
:Author: |AUTHOR|
:Version: Version |VERSION|
:Manual section: 5
Description
===========
The file /etc/proxmox-backup/remote.cfg is a configuration file for
Proxmox Backup Server. It contains information about remote servers,
usable for synchronization jobs.
File Format
===========
.. include:: format.rst
Options
=======
.. include:: config.rst
.. include:: ../../pbs-copyright.rst

View File

@ -33,3 +33,18 @@ Options
^^^^^^^
.. include:: config/user/config.rst
``remote.cfg``
~~~~~~~~~~~~~~~~~
File Format
^^^^^^^^^^^
.. include:: config/remote/format.rst
Options
^^^^^^^
.. include:: config/remote/config.rst