We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent569144a commit3b7fb5dCopy full SHA for 3b7fb5d
src/backup.c
@@ -534,6 +534,9 @@ do_backup_instance(PGconn *backup_conn)
534
}
535
536
537
+/* ssh connection to longer needed */
538
+fio_disconnect();
539
+
540
/* Notify end of backup */
541
pg_stop_backup(¤t,pg_startbackup_conn);
542
@@ -680,6 +683,9 @@ do_backup(time_t start_time, bool no_validate)
680
683
*/
681
684
check_system_identifiers(backup_conn,instance_config.pgdata);
682
685
686
687
688
689
/* below perform checks specific for backup command */
690
#ifPG_VERSION_NUM >=110000
691
if (!RetrieveWalSegSize(backup_conn))
@@ -2143,6 +2149,9 @@ backup_files(void *arg)
2143
2149
elog(WARNING,"unexpected file type %d",buf.st_mode);
2144
2150
2145
2151
2152
2153
2154
2146
2155
/* Close connection */
2147
2156
if (arguments->conn_arg.conn)
2148
2157
pgut_disconnect(arguments->conn_arg.conn);