mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
ignore the dynamic shared memory directory, too
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -1879,7 +1879,7 @@ copy_remote_files(char *host, char *remote_user, char *remote_path,
|
||||
|
||||
if (is_directory)
|
||||
{
|
||||
strcat(rsync_flags, " --exclude=pg_xlog* --exclude=pg_log* --exclude=pg_control --exclude=*.pid");
|
||||
strcat(rsync_flags, " --exclude=pg_xlog* --exclude=pg_log* --exclude=pg_control --exclude=*.pid --exclude=pg_dynshmem*");
|
||||
maxlen_snprintf(script, "rsync %s %s:%s/* %s",
|
||||
rsync_flags, host_string, remote_path, local_path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user