Re: Trouble using pg_rewind to undo standby promotion

2024-11-07 Thread Craig McIlwee
> > >> Are you archiving WAL on the promoted machine in a way that your >> restore_command can find it? Check archive_command and archive_mode on the >> promoted machine. >> > > No, the promoted machine is not archiving. How should that work? Is it > OK for a log shipping standby that uses restor

Re: Trouble using pg_rewind to undo standby promotion

2024-11-07 Thread Craig McIlwee
On Thu, Nov 7, 2024 at 4:47 AM Torsten Förtsch wrote: > Your point of divergence is in the middle of the 7718/00BF file. So, > you should have 2 such files eventually, one on timeline 1 and the other on > timeline 2. > > Are you archiving WAL on the promoted machine in a way that your > resto

Re: Trouble using pg_rewind to undo standby promotion

2024-11-07 Thread Torsten Förtsch
Your point of divergence is in the middle of the 7718/00BF file. So, you should have 2 such files eventually, one on timeline 1 and the other on timeline 2. Are you archiving WAL on the promoted machine in a way that your restore_command can find it? Check archive_command and archive_mode on t