"standby clone": add early sanity check for external configuration files

This still requires an SSH connection, so we need to check early before
the cloning starts, and also emit useful information for --dry-run.
This commit is contained in:
Ian Barwick
2017-08-29 22:11:16 +09:00
parent 16d7282c9d
commit 8b03859dbe
2 changed files with 115 additions and 42 deletions

View File

@@ -2512,6 +2512,8 @@ copy_remote_files(char *host, char *remote_user, char *remote_path,
rsync_flags.data, host_string, remote_path, local_path);
}
termPQExpBuffer(&rsync_flags);
log_info(_("rsync command line: '%s'"), script);
r = system(script);