pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: thomas simon <tsimon@neteven.com>
To: Matheus de Oliveira <matioli.matheus@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Pg_basebackup does not do aything
Date: Thu, 26 Jun 2014 00:24:02 +0200
Message-ID: <53AB4C02.1030907@neteven.com> (raw)
In-Reply-To: <CAJghg4LJi+oFOem47ocEnQvB_1KNr6NT1wzpFMPhU0D_BZtKuA@mail.gmail.com>
References: <53AB29E8.6010209@neteven.com>
	<CAJghg4LJi+oFOem47ocEnQvB_1KNr6NT1wzpFMPhU0D_BZtKuA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Yes, it did the trick !
Thanks Matheus

Something I don't understand is how my 2nd slave will be synced to 
master, because master's archive command only sent WAL files to 1st slave.
Does I have to archive on both slaves ? (is it possible) ?
And what I am supposed to use with parameter "restore_command" ?
In this case, my new slave will not start if i dont start it just after 
the end of the pg_basebackup ?




Le 25/06/2014 22:49, Matheus de Oliveira a écrit :
>
> On Wed, Jun 25, 2014 at 4:58 PM, thomas simon <tsimon@neteven.com 
> <mailto:tsimon@neteven.com>> wrote:
>
>     My command is  :  pg_basebackup -D /data/postgresql/9.3/main -P -v
>     -h MASTER -U replicator -X s
>
>
> I'm betting you are just waiting for a "spread" checkpoint. If that is 
> the case, you can issue a CHECKPOINT command on the master and see if 
> your backup start running, or you you can use "--checkpoint=fast" 
> option for pg_basebackup.
>
>
> -- 
> Matheus de Oliveira
> Analista de Banco de Dados
> Dextra Sistemas - MPS.Br nível F!
> www.dextra.com.br/postgres <http://www.dextra.com.br/postgres/;
>

view thread (5+ messages)  latest in thread

Message-ID: <53AB4C02.1030907@neteven.com>
Permalink:  ../53AB4C02.1030907@neteven.com/
Also on:    postgresql.org/message-id/53AB4C02.1030907@neteven.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tsimon@neteven.com, matioli.matheus@gmail.com
  Subject: Re: Pg_basebackup does not do aything
  In-Reply-To: <53AB4C02.1030907@neteven.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox