From 1631f8b3cebbe761f5eb71c9b7203664f2ae5005 Mon Sep 17 00:00:00 2001 From: David Steele Date: Wed, 29 Aug 2018 16:45:58 -0500 Subject: [PATCH] Embedded documentation update missed in c6384904. --- src/config/define.auto.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/config/define.auto.c b/src/config/define.auto.c index f494d60c4..af67462d7 100644 --- a/src/config/define.auto.c +++ b/src/config/define.auto.c @@ -1016,10 +1016,11 @@ static ConfigDefineOptionData configDefineOptionData[] = CFGDEFDATA_OPTION_LIST CFGDEFDATA_OPTION_HELP_SUMMARY("Exclude paths/files from the backup.") CFGDEFDATA_OPTION_HELP_DESCRIPTION ( - "If the exclusion ends with / then only files in the specified directory will be excluded, e.g. --exclude=junk/ will " - "exclude all files in the junk directory but include the directory itself. If the exclusion does not end with / " - "then the file may match the exclusion exactly or match with / appended to the exclusion, e.g. --exclude=junk will " - "exclude the junk directory and all the files it contains.\n" + "All exclusions are relative to $PGDATA. If the exclusion ends with / then only files in the specified directory will " + "be excluded, e.g. --exclude=junk/ will exclude all files in the $PGDATA/junk directory but include the directory " + "itself. If the exclusion does not end with / then the file may match the exclusion exactly or match with / " + "appended to the exclusion, e.g. --exclude=junk will exclude the $PGDATA/junk directory and all the files it " + "contains.\n" "\n" "Be careful using this feature -- it is very easy to exclude something critical that will make the backup " "inconsistent. Be sure to test your restores!\n" @@ -1032,7 +1033,9 @@ static ConfigDefineOptionData configDefineOptionData[] = CFGDEFDATA_OPTION_LIST "\n" "This option should not be used to exclude PostgreSQL logs from a backup. Logs can be moved out of the PGDATA " "directory using the PostgreSQL log_directory setting, which has the benefit of allowing logs to be preserved " - "after a restore." + "after a restore.\n" + "\n" + "Multiple exclusions may be specified on the command-line or in a configuration file." ) CFGDEFDATA_OPTION_COMMAND_LIST