diff --git a/repmgr.c b/repmgr.c index 8eeb82ae..c863b5d2 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1017,8 +1017,6 @@ do_standby_clone(void) exit(ERR_DB_CON); } - log_notice("Starting backup...\n"); - /* Get the data directory full path and the configuration files location */ sqlquery_snprintf(sqlquery, "SELECT name, setting " @@ -1058,6 +1056,8 @@ do_standby_clone(void) } PQclear(res); + log_notice("Starting backup...\n"); + /* * in pg 9.1 default is to wait for a sync standby to ack, * avoid that by turning off sync rep for this session