mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-26 11:54:25 +02:00
Ignore stream param from backup if we start restore without backup_id.
This commit is contained in:
parent
c084fee35c
commit
9d579bc195
@ -204,7 +204,8 @@ base_backup_found:
|
|||||||
!satisfy_recovery_target(backup, rt))
|
!satisfy_recovery_target(backup, rt))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
stream_wal = backup->stream;
|
if (backup_id != 0)
|
||||||
|
stream_wal = backup->stream;
|
||||||
|
|
||||||
print_backup_lsn(backup);
|
print_backup_lsn(backup);
|
||||||
restore_database(backup);
|
restore_database(backup);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user