Re: New Slave - timeline ERROR - Mailing list pgsql-general

From bricklen
Subject Re: New Slave - timeline ERROR
Date
Msg-id CAGrpgQ_1yxQW9LPxGaYiKE31yd2ujqQSYBQpCmsZPcDd=iZ6XQ@mail.gmail.com
Whole thread Raw
In response to Re: New Slave - timeline ERROR  ("drum.lucas@gmail.com" <drum.lucas@gmail.com>)
Responses Re: New Slave - timeline ERROR  ("drum.lucas@gmail.com" <drum.lucas@gmail.com>)
List pgsql-general
On Sat, Jan 9, 2016 at 2:35 PM, drum.lucas@gmail.com <drum.lucas@gmail.com> wrote:
rsync -azr --progress --partial postgres@$MASTER_IP:/var/lib/postgresql/data/var/lib/postgresql/data/ --exclude postmaster.pid 

Ah ok! So this will do an incrementa, right? not supposed to copy ALL the base/ again?

Yes, this is for incremental copying from the upstream source.
Actually, you don't need the -r with -a (it is implied), and you can run it first with --dry-run to see what it _would_ do.
If you are not shipping over the WAN, then omit the -z flag as you do not need compression.

pgsql-general by date:

Previous
From: "drum.lucas@gmail.com"
Date:
Subject: Re: New Slave - timeline ERROR
Next
From: "drum.lucas@gmail.com"
Date:
Subject: Re: New Slave - timeline ERROR