From 1159113c58103b04e2b8288d439e39e5fe5feb4f Mon Sep 17 00:00:00 2001 From: Christian Kruse Date: Thu, 23 Jan 2014 10:02:09 +0100 Subject: [PATCH] ignore the dynamic shared memory directory, too --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 75afa262..c244efab 100644 --- a/repmgr.c +++ b/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); }