From: Vicky Soni - Quipment India <vicky.soni@quipment.nl>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: PITR Setup Using Hot StandBy
Date: Tue, 24 May 2016 13:05:56 +0000
Message-ID: <40018a032885475d9f8c3c5745c1c9d2@Strand.quipment.local> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
[Quipment Logo]
Hello Friends,
I need to setup PITR. Using master, I am able to do wal archiving.
But using slave I am not able to archive WAL files.
Can anyone please guide me, how to setup PITR using Hot StandBy?
I have setup LogShpping + Streaming Replication in my dev environment, now using this slave I want to setup PITR.
I have already setup following parameters:
wal_level = hot_standby
archive_mode = on
archive_command = 'copy "c:\\Program Files\\PostgreSQL\\9.4\\data\\%p" "\\\\192.168.170.221\\Primary_WAL_Archive\\%f"'
max_wal_senders = 3
wal_keep_segments = 8
hot_standby = on
Any help is appreciated.
Vicky Soni
Database Administrator
.Net Department
T / +91 (0) 93288 80507
vicky.soni@<mailto:%20vicky.soni@quipment.in> / www.quipment.in<http://www.quipment.in;
QTwee Group BV
KvK Arnhem 60858001
BTW NL854090721B01
mail@<mailto:mail@quipment.nl> / www.quipment.nl<http://www.quipment.nl;
Hoofdkantoor Nijmegen
Kerkenbos 1236 C
6546 BE Nijmegen
Tel.
+31 (0)24 372 47 00
Fax.
+31 (0)24 372 47 07
Quipment India
A-212 Shivalik Corporate Park
B/H IOC Petrol Pump
Satellite, Ahmedabad
Gujarat - 380015 - India
Tel. +91 (0) 79 4009 7847
Disclaimer
This e-mail message (including any attachment) is intended only for the personal use of the recipient(s) named above. This message is confidential and may be legally privileged. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify us immediately by e-mail and delete the original message.
Attachments:image001.jpg (image/jpeg, 23.8K) downloadview image
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: vicky.soni@quipment.nl
Subject: Re: PITR Setup Using Hot StandBy
In-Reply-To: <40018a032885475d9f8c3c5745c1c9d2@Strand.quipment.local>
References: <40018a032885475d9f8c3c5745c1c9d2@Strand.quipment.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox