mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Exclude pid files from standby clone
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -819,7 +819,7 @@ copy_remote_files(char *host, char *remote_path, char *local_path, bool is_direc
|
||||
|
||||
if (is_directory)
|
||||
{
|
||||
strcat(options, " --archive --exclude=pg_xlog* --exclude=pg_control");
|
||||
strcat(options, " --archive --exclude=pg_xlog* --exclude=pg_control --exclude=*.pid");
|
||||
sprintf(script, "rsync %s %s:%s/* %s",
|
||||
options, host, remote_path, local_path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user