File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -432,6 +432,11 @@ do_backup(void)
432
432
*/
433
433
check_system_identifiers ();
434
434
435
+ /* get list of backups already taken */
436
+ backup_list = catalog_get_backup_list (INVALID_BACKUP_ID );
437
+ if (backup_list == NULL )
438
+ elog (ERROR , "Failed to get backup list." );
439
+
435
440
elog (LOG , "Backup start. backup-mode = %s, stream = %s" ,
436
441
pgBackupGetBackupMode (& current ), current .stream ? "true" : "false" );
437
442
@@ -449,11 +454,6 @@ do_backup(void)
449
454
/* set the error processing function for the backup process */
450
455
pgut_atexit_push (backup_cleanup , NULL );
451
456
452
- /* get list of backups already taken */
453
- backup_list = catalog_get_backup_list (INVALID_BACKUP_ID );
454
- if (backup_list == NULL )
455
- elog (ERROR , "Failed to get backup list." );
456
-
457
457
/* backup data */
458
458
do_backup_database (backup_list );
459
459
pgut_atexit_pop (backup_cleanup , NULL );
You can’t perform that action at this time.
0 commit comments