Re: Roll forward the replica instance - Mailing list pgsql-admin

From nikhil kumar
Subject Re: Roll forward the replica instance
Date
Msg-id CACJRp48OR0fHc14kOQGnV116SZsO+j1=Nd6i5MSkWpJ9stsQaA@mail.gmail.com
Whole thread Raw
In response to Roll forward the replica instance  (Siraj G <tosiraj.g@gmail.com>)
List pgsql-admin
Hi Siraj,


As per my experience there is two methods;
1. Standby db data directory move some other location. Create a new empty data directory 
Take the base backup again —- Preferred one  

2. If enable the archive log in your environment 
Take the missing wal files to correct time wal files. Move all files to wal directory location — this is bit complex 

Thanks & Best Regards,
Nikhil,


On Thu, 4 Jul 2024 at 11:18 PM, Siraj G <tosiraj.g@gmail.com> wrote:
Hello -

Is there any way we can roll forward the replica instance in PgSQL streaming replication environment? Say, WALs are deleted and there is a gap in the replica, what are the ways to sync the replica with its primary?

Regards
Siraj

pgsql-admin by date:

Previous
From: Siraj G
Date:
Subject: Roll forward the replica instance
Next
From: Wasim Devale
Date:
Subject: reindex from pgadmin issue