Re: New Slave - timeline ERROR

From: bricklen <bricklen(at)gmail(dot)com>
To: "drum(dot)lucas(at)gmail(dot)com" <drum(dot)lucas(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: New Slave - timeline ERROR
Date: 2016-01-09 22:40:41
Message-ID: CAGrpgQ_1yxQW9LPxGaYiKE31yd2ujqQSYBQpCmsZPcDd=iZ6XQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Jan 9, 2016 at 2:35 PM, drum(dot)lucas(at)gmail(dot)com <drum(dot)lucas(at)gmail(dot)com>
wrote:

> rsync -azr --progress --partial postgres(at)$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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message drum.lucas@gmail.com 2016-01-10 00:33:15 Re: New Slave - timeline ERROR
Previous Message drum.lucas@gmail.com 2016-01-09 22:35:25 Re: New Slave - timeline ERROR