-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After PITR recovery, Postgres won't start and report missing WAL file #881
Comments
I've got the same problem using PostgreSQL 16.1 and Barman 3.9.0. Recovery using |
The issue still persists in Barman 3.10. Here are logs and more details. Started the recovery using this command:
Started the PostgreSQL server, but it failed to start. Log file of barman:
Log file of PostgreSQL:
|
Hi, Could you please provide the output of the Also, the logs like you did before. Thanks a lot! |
Here are the requested information. I don't have a full test environment available, so I just created a blank database, backup it several times and tried to restore it using "--target-time", just to show the error.
https://medium.com/@kiwiv/recover-your-database-with-barman-be5ee4e11939
I picked the end date of the backup.
Log of PostgreSQL:
barman diagnose
Logfile of barman:
|
After doing PITR recovery with specific time Postgres won't start.
Recovery command is reporting that postgres is successfully prepared for recovery, but after starting postgres instance it fail and log that WAL file, which is after target time according to timeline, is missing.
I can do a restore to the latest version of DB without a problem.
Command used to recovery
Command log
Postgres Logs
Timeline UTC+1
(Barman server, Postgres server have same timezone)
TIME | ACTION | WAL NUMBER | ADD NFO
Barman log
The text was updated successfully, but these errors were encountered: