1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-17 21:18:00 +02:00

Bug fix. Save all metadata of the target backup, not only its status

This commit is contained in:
Arthur Zakirov 2018-10-25 19:05:58 +03:00
parent cc45cea3c9
commit effc719dd5

View File

@ -326,7 +326,7 @@ merge_backups(pgBackup *to_backup, pgBackup *from_backup)
to_backup->wal_bytes = BYTES_INVALID;
pgBackupWriteFileList(to_backup, files, from_database_path);
write_backup_status(to_backup);
write_backup(to_backup);
/* Cleanup */
pfree(threads_args);