Hi Arvind, The log shipping method of standby you are referring to is a warm standby, please have a look at the
manuals, and follow it until the section as highlighted below. The URL points to the 9.6 manuals, please change it to 10 for the configuration on PostgreSQL 10. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` 26.2.4. Setting Up a Standby Server To set up the standby server, restore the base backup taken from primary server (see Section 25.3.4). Create a recovery command file recovery.conf in the standby's
cluster data directory, and turn on standby_mode. Set restore_command to a simple command to copy files from the WAL archive. If you plan to have multiple standby servers for high availability purposes, set recovery_target_timeline to latest, to make the standby
server follow the timeline change that occurs at failover to another standby. Note: Do not use pg_standby or similar tools with the built-in standby mode described here. restore_command should return immediately if the file does not
exist; the server will retry the command again if necessary. See Section 26.4 for using tools like pg_standby. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` Best Regards, Nawaz Ahmed From: arvind chikne [mailto:arvind.chikne@xxxxxxxxx]
Thanks Johannes, It would be really great if you can share any log shipping method for master slave replication, step by step guide is much appreciated. On Tue, May 15, 2018 at 12:11 AM, Johannes Truschnigg <johannes@xxxxxxxxxxxxxxx> wrote:
-- Thanks & Regards 9818979986 Think Green!!! Please consider your
environmental responsibility before printing this e-mail DisclaimerThe information in this e-mail is confidential and may contain content that is subject to copyright and/or is commercial-in-confidence and is intended only for the use of the above named addressee. If you are not the intended recipient, you are hereby notified that dissemination, copying or use of the information is strictly prohibited. If you have received this e-mail in error, please telephone Fujitsu Australia Software Technology Pty Ltd on + 61 2 9452 9000 or by reply e-mail to the sender and delete the document and all copies thereof. Whereas Fujitsu Australia Software Technology Pty Ltd would not knowingly transmit a virus within an email communication, it is the receiver’s responsibility to scan all communication and any files attached for computer viruses and other defects. Fujitsu Australia Software Technology Pty Ltd does not accept liability for any loss or damage (whether direct, indirect, consequential or economic) however caused, and whether by negligence or otherwise, which may result directly or indirectly from this communication or any files attached. If you do not wish to receive commercial and/or marketing email messages from Fujitsu Australia Software Technology Pty Ltd, please email unsubscribe@xxxxxxxxxxxxxxxxxxx |