pgbackrest.git / summary / log / commit / refs
commit 3cc367185e1a9bec69954895ecb6ae9d54c8d71f
Author: David Steele <david@pgmasters.net>
Date: Fri Dec 15 16:12:37 2017 +0000
Add documentation for command-line negation.
doc/xml/reference.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/doc/xml/reference.xml b/doc/xml/reference.xml
index cb34bacd2..cd2eafe92 100644
--- a/doc/xml/reference.xml
+++ b/doc/xml/reference.xml
@@ -743,7 +743,11 @@
<operation title="{[project]} Command Reference">
<description>The {[project]} Command Reference details all commands and options.</description>
- <text>Commands are used to execute the various <backrest/> functions. Here the command options are listed exhaustively, that is, each option applicable to a command is listed with that command even if it applies to one or more other commands. This includes all the options that may also configured in <file>pgbackrest.conf</file>.</text>
+ <text>Commands are used to execute the various <backrest/> functions. Here the command options are listed exhaustively, that is, each option applicable to a command is listed with that command even if it applies to one or more other commands. This includes all the options that may also configured in <file>pgbackrest.conf</file>.
+
+ Non-boolean options configured in <file>pgbackrest.conf</file> can be reset to default on the command-line by using the <id>no-</id> prefix. This feature may be used to restore a backup directly on a backup host. Normally, <backrest/> will error because it can see that the database host is remote and restores cannot be done remotely. By adding <br-option>--no-db1-host</br-option> on the command-line, <backrest/> will ignore the remote database host and restore locally. It may be necessary to pass a new <br-option>--db-path</br-option> to force the restore to happen in a specific path, i.e. not the path used on the database host.
+
+ If the <id>no-</id> prefix is used with a boolean option then the option is set to false.</text>
<operation-general title="General Options">
<option-list>
[parent: 41f5b2cec2e0]