From: | "Gunnar \"Nick\" Bluth" <gunnar(dot)bluth(at)pro-open(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org,Gabriel Ortiz Lour <ortiz(dot)admin(at)gmail(dot)com> |
Subject: | Re: Streaming Replication Without Downtime |
Date: | 2017-02-17 13:09:59 |
Message-ID: | 5D7D1637-9D31-4F6E-8692-688D23DD8D1D@pro-open.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
(sorry for the toppost, mobile device)
What you're looking for is pg_basebackup with - - xlog=stream, I guess.
Regards,
Nick
Am 17. Februar 2017 14:06:36 MEZ schrieb Gabriel Ortiz Lour <ortiz(dot)admin(at)gmail(dot)com>:
>Hi all,
>I've been searching for a way to initialize a new Hot Standby node with
>Streaming Replication withou the need for stop or even restarting the
>master.
> Of course the master is already with the needed SR configs.
>
> I know I have to use pg_start_backup/pg_stop_backup, but i'd like some
>tips, or a link to some tutorial, with the order of the steps.
>
> I assume will be something like:
>
>- configure Slave for SR
>- pg_start_backup()
>- rsync PGDATA to slave
>- start PG on the slave
>- pg_stop_backup()
>
> Anything i'm thinking wrong?
>
>Thanks in advance,
>Gabriel
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleas Mantzios | 2017-02-17 13:20:14 | Re: Streaming Replication Without Downtime |
Previous Message | Gabriel Ortiz Lour | 2017-02-17 13:06:36 | Streaming Replication Without Downtime |