On Wed, Dec 6, 2023 at 2:29 PM 'Marco Pgsql' via Barman, Backup and
Recovery Manager for PostgreSQL <
pgba...@googlegroups.com> wrote:
> When trying to restore latest backup i can't start postgres due to missing wal file under "barman_wal folder.
I'm not sure what the question is, but in short if you are missing
even a single wal you cannot restore that backup.
> I dont get the error when i restore a previous backup.
That's because that previous backup has all the WALs and you are not
asking to go any further in the timeline.
I suggest you to take a new backup in order to be able to recover at least.
The reason why barman has lost a wal (how did you know?) is not clear
to me, since you have also streaminng and slots. However you are
running a PostgreSQL version that is EOL.
Luca