docs: add manukal page for remote.cfg
This commit is contained in:
parent
3084232cb5
commit
6279b8f5a5
|
@ -36,10 +36,10 @@ Build-Depends: debhelper (>= 11),
|
||||||
librust-percent-encoding-2+default-dev (>= 2.1-~~),
|
librust-percent-encoding-2+default-dev (>= 2.1-~~),
|
||||||
librust-pin-project-1+default-dev,
|
librust-pin-project-1+default-dev,
|
||||||
librust-pin-utils-0.1+default-dev,
|
librust-pin-utils-0.1+default-dev,
|
||||||
librust-proxmox-0.10+api-macro-dev (>= 0.10.4-~~),
|
librust-proxmox-0.10+api-macro-dev (>= 0.10.5-~~),
|
||||||
librust-proxmox-0.10+default-dev (>= 0.10.4-~~),
|
librust-proxmox-0.10+default-dev (>= 0.10.5-~~),
|
||||||
librust-proxmox-0.10+sortable-macro-dev (>= 0.10.4-~~),
|
librust-proxmox-0.10+sortable-macro-dev (>= 0.10.5-~~),
|
||||||
librust-proxmox-0.10+websocket-dev (>= 0.10.4-~~),
|
librust-proxmox-0.10+websocket-dev (>= 0.10.5-~~),
|
||||||
librust-proxmox-fuse-0.1+default-dev (>= 0.1.1-~~),
|
librust-proxmox-fuse-0.1+default-dev (>= 0.1.1-~~),
|
||||||
librust-pxar-0.8+default-dev,
|
librust-pxar-0.8+default-dev,
|
||||||
librust-pxar-0.8+tokio-io-dev,
|
librust-pxar-0.8+tokio-io-dev,
|
||||||
|
|
|
@ -22,6 +22,7 @@ usr/share/man/man1/pmtx.1
|
||||||
usr/share/man/man1/pmt.1
|
usr/share/man/man1/pmt.1
|
||||||
usr/share/man/man5/datastore.cfg.5
|
usr/share/man/man5/datastore.cfg.5
|
||||||
usr/share/man/man5/user.cfg.5
|
usr/share/man/man5/user.cfg.5
|
||||||
|
usr/share/man/man5/remote.cfg.5
|
||||||
usr/share/zsh/vendor-completions/_proxmox-backup-manager
|
usr/share/zsh/vendor-completions/_proxmox-backup-manager
|
||||||
usr/share/zsh/vendor-completions/_pmtx
|
usr/share/zsh/vendor-completions/_pmtx
|
||||||
usr/share/zsh/vendor-completions/_pmt
|
usr/share/zsh/vendor-completions/_pmt
|
||||||
|
|
|
@ -10,6 +10,7 @@ GENERATED_SYNOPSIS := \
|
||||||
backup-protocol-api.rst \
|
backup-protocol-api.rst \
|
||||||
reader-protocol-api.rst \
|
reader-protocol-api.rst \
|
||||||
config/user/config.rst \
|
config/user/config.rst \
|
||||||
|
config/remote/config.rst \
|
||||||
config/datastore/config.rst
|
config/datastore/config.rst
|
||||||
|
|
||||||
MAN1_PAGES := \
|
MAN1_PAGES := \
|
||||||
|
@ -22,6 +23,7 @@ MAN1_PAGES := \
|
||||||
|
|
||||||
MAN5_PAGES := \
|
MAN5_PAGES := \
|
||||||
user.cfg.5 \
|
user.cfg.5 \
|
||||||
|
remote.cfg.5 \
|
||||||
datastore.cfg.5
|
datastore.cfg.5
|
||||||
|
|
||||||
PRUNE_SIMULATOR_FILES := \
|
PRUNE_SIMULATOR_FILES := \
|
||||||
|
@ -94,13 +96,19 @@ pmt.1: pmt/man1.rst pmt/description.rst pmt/synopsis.rst
|
||||||
config/datastore/config.rst: ${COMPILEDIR}/docgen
|
config/datastore/config.rst: ${COMPILEDIR}/docgen
|
||||||
${COMPILEDIR}/docgen datastore.cfg >$@
|
${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 $< >$@
|
rst2man $< >$@
|
||||||
|
|
||||||
config/user/config.rst: ${COMPILEDIR}/docgen
|
config/user/config.rst: ${COMPILEDIR}/docgen
|
||||||
${COMPILEDIR}/docgen user.cfg >$@
|
${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 $< >$@
|
rst2man $< >$@
|
||||||
|
|
||||||
proxmox-backup-client/synopsis.rst: ${COMPILEDIR}/proxmox-backup-client
|
proxmox-backup-client/synopsis.rst: ${COMPILEDIR}/proxmox-backup-client
|
||||||
|
|
|
@ -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.
|
|
@ -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
|
|
@ -33,3 +33,18 @@ Options
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
||||||
.. include:: config/user/config.rst
|
.. include:: config/user/config.rst
|
||||||
|
|
||||||
|
|
||||||
|
``remote.cfg``
|
||||||
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
File Format
|
||||||
|
^^^^^^^^^^^
|
||||||
|
|
||||||
|
.. include:: config/remote/format.rst
|
||||||
|
|
||||||
|
|
||||||
|
Options
|
||||||
|
^^^^^^^
|
||||||
|
|
||||||
|
.. include:: config/remote/config.rst
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
use anyhow::{bail, Error};
|
use anyhow::{bail, Error};
|
||||||
|
|
||||||
use proxmox::api::{
|
use proxmox::api::format::dump_section_config;
|
||||||
format::*,
|
|
||||||
section_config::*,
|
|
||||||
};
|
|
||||||
|
|
||||||
use proxmox_backup::{
|
use proxmox_backup::{
|
||||||
config,
|
config,
|
||||||
|
|
Loading…
Reference in New Issue