Re: Roll forward the replica instance

From: nikhil kumar <nikhil(dot)dba97(at)gmail(dot)com>
To: Siraj G <tosiraj(dot)g(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Roll forward the replica instance
Date: 2024-07-04 18:08:56
Message-ID: CACJRp48OR0fHc14kOQGnV116SZsO+j1=Nd6i5MSkWpJ9stsQaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)g(at)gmail(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Wasim Devale 2024-07-04 19:49:31 reindex from pgadmin issue
Previous Message Siraj G 2024-07-04 17:48:31 Roll forward the replica instance