Skip to content

Commit eae31a1

Browse files
committed
write START LSN to backup meta after pg_start_backup execution
1 parent ace4ca2 commit eae31a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/backup.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,9 @@ do_backup_instance(void)
574574
strlen(" with pg_probackup"));
575575
pg_start_backup(label, smooth_checkpoint, &current);
576576

577+
/* Update running backup meta with START LSN */
578+
write_backup(&current);
579+
577580
pgBackupGetPath(&current, database_path, lengthof(database_path),
578581
DATABASE_DIR);
579582

0 commit comments

Comments
 (0)