Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Steffens <joerg.steffens@bareos.com>2018-02-15 20:52:44 +0300
committerJoerg Steffens <joerg.steffens@bareos.com>2018-02-15 20:52:44 +0300
commit01b099ae47051aff25e6309e749851db37062884 (patch)
tree5cdc7ce59d8a131a8fa5429bf20ae88b32605faf
parentfed3c11652ecd151e33c60eb020d2c172c6b31e9 (diff)
configure add: add comment about values containing spaces
-rw-r--r--manuals/en/main/bconsole.tex9
1 files changed, 7 insertions, 2 deletions
diff --git a/manuals/en/main/bconsole.tex b/manuals/en/main/bconsole.tex
index 20ef931..e5f6d9a 100644
--- a/manuals/en/main/bconsole.tex
+++ b/manuals/en/main/bconsole.tex
@@ -467,11 +467,16 @@ create [pool=<pool-name>]
This command allows to add resources during runtime.
Usage:
-\begin{bconsole}{}
+\begin{bconsole}{configure add usage}
configure add <resourcetype> name=<resourcename> <directive1>=<value1> <directive2>=<value2> ...
\end{bconsole}
- The command generates and loads a new, valid resource.
+ Values that must be quoted in the resulting configuration must be added as:
+\begin{bconsole}{configure add usage with values containing spaces}
+configure add <resourcetype> name=<resourcename> <directive1>="\"<value containing spaces>\"" ...
+\end{bconsole}
+
+ The command generates and loads a new valid resource.
As the new resource is also stored at
\file{<CONFIGDIR>/bareos-dir.d/<resourcetype>/<resourcename>.conf}