Setting up streaming replication with new server as master? - Mailing list pgsql-admin

From Dave Johansen
Subject Setting up streaming replication with new server as master?
Date
Msg-id CAAcYxUdTYWFdUOhiNzBv290YmeYgAv4iqh4gyiyBW3XgcCmjSw@mail.gmail.com
Whole thread Raw
Responses Re: Setting up streaming replication with new server as master?  (Stephen Frost <sfrost@snowman.net>)
List pgsql-admin
We would like to start using streaming replication, but the catch is that we want the new server to be the master. The server is still in use and receiving new data, so we would like to minimize down time, and I would prefer to be able to copy all, or at least the large majority of the data to the new server before doing the final sync to make it the master.

Will pg_basebackup work?
Can it be run multiple times? (i.e. start it now to copy all of the data over the weekend and then a second time on Monday before doing the switch)
Do I need to manually copy the files with rsync?

What's the recommended way to handle this?

Thanks,
Dave

pgsql-admin by date:

Previous
From: Fernando Hevia
Date:
Subject: Re: Monitoring Active Connections
Next
From: Stephen Frost
Date:
Subject: Re: Setting up streaming replication with new server as master?