mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
A few changes from repmgrd and improve the SQL of the repl_status
view in order to actually show something useful
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -817,7 +817,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");
|
||||
sprintf(script, "rsync %s %s:%s %s",
|
||||
sprintf(script, "rsync %s %s:%s/* %s",
|
||||
options, host, remote_path, local_path);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user