From 3cc367185e1a9bec69954895ecb6ae9d54c8d71f Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 15 Dec 2017 11:12:37 -0500 Subject: [PATCH] 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 @@ The {[project]} Command Reference details all commands and options. - Commands are used to execute the various 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 pgbackrest.conf. + Commands are used to execute the various 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 pgbackrest.conf. + + Non-boolean options configured in pgbackrest.conf can be reset to default on the command-line by using the no- prefix. This feature may be used to restore a backup directly on a backup host. Normally, will error because it can see that the database host is remote and restores cannot be done remotely. By adding --no-db1-host on the command-line, will ignore the remote database host and restore locally. It may be necessary to pass a new --db-path to force the restore to happen in a specific path, i.e. not the path used on the database host. + + If the no- prefix is used with a boolean option then the option is set to false.