Please correct me - PIT - Redirected recovery - Mailing list pgsql-novice

From Subramanian,Ramachandran
Subject Please correct me - PIT - Redirected recovery
Date
Msg-id 8ee01402028e4fabb153a6420cce3a2a@alte-leipziger.de
Whole thread Raw
Responses Re: Please correct me - PIT - Redirected recovery
List pgsql-novice

Hello,

 

  Kindly excuse my beginner question.

 

I am formulating a backup strategy for our Production environment.

 

I use pg_basebackup ( naturally with archive logging ) .

 

I have successfully tested a full recovery and a point in time recovery at the source server.

 

I have also tested a full recovery in a secondory server with the backups taken from the source server.

 

My question is regarding the possibility of a PIT recovery in the secondary server.

 

  1. Is it possible to do a PIT Recovery in the secondary server  WITHOUT copying over the archive logs from the primary server IF the recovery point lies WITHIN THE RANGE of the logs contained in the pg_basebackup ? In other words is it possible to rollforward within the range of the logs present in pg_wal directory.

 

  1. Where does Postgres keep track of the information about which log was archived at what time?  Is there a command  to get this information from postgres?

 

 

  1. I have not tested this yet, but logic tells me that IF I COPY over the ARCHIVE LOGS from the source to the target server, then PIT Recovery should be possible. Please correct me if I am wrong.

 

Thank you in advance for your kind answers.

 

LG


Ram

 

 


Freundliche Grüße

i. A. Ramachandran Subramanian

Zentralbereich Informationstechnologie

Alte Leipziger Lebensversicherung a. G.

Hallesche Krankenversicherung a. G.

______________________

ALH Gruppe
Alte Leipziger-Platz 1, 61440 Oberursel
Tel: +49 (6171) 66-4882
Fax: +49 (6171) 66-800-4882
E-Mail: ramachandran.subramanian@alte-leipziger.de
www.alte-leipziger.de
www.hallesche.de

Alte Leipziger Lebensversicherung a. G., Alte Leipziger-Platz 1, 61440 Oberursel

Vors. des Aufsichtsrats: Dr. Walter Botermann · Vorstand: Christoph Bohn (Vors.), Dr. Jürgen Bierbaum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexander Mayer, Christian Pape, Wiltrud Pekarek, Udo Wilcsek

Sitz Oberursel (Taunus) · Rechtsform VVaG · Amtsgericht Bad Homburg v. d. H. HRB 1583 · USt.-IdNr. DE 114106814

Hallesche Krankenversicherung a. G., Löffelstraße 34-38, 70597 Stuttgart

Vors. des Aufsichtsrats: Dr. Walter Botermann · Vorstand: Christoph Bohn (Vors.), Dr. Jürgen Bierbaum (stv. Vors.), Frank Kettnaker, Dr. Jochen Kriegmeier, Alexander Mayer, Christian Pape, Wiltrud Pekarek, Udo Wilcsek

Sitz Stuttgart · Rechtsform VVaG · Amtsgericht Stuttgart HRB 2686 · USt.-IdNr. DE 147802285

Beiträge zu privaten Kranken- und Pflegekrankenversicherungen unterliegen nicht der Versicherungsteuer (§ 4 (1) Nr. 5 b VersStG) · Versicherungsleistungen sowie Umsätze aus Versicherungsvertreter-/Maklertätigkeiten sind umsatzsteuerfrei

Pflichtangaben der ALH Gruppe gemäß § 35a GmbHG bzw. § 80 AktG

pgsql-novice by date:

Previous
From: Amul Sul
Date:
Subject: Re: pg_verifybackup fails
Next
From: Laurenz Albe
Date:
Subject: Re: Please correct me - PIT - Redirected recovery