Re: [GENERAL] Missing WALs when doing pg_basebackup from slave...

2015-06-11 Thread marin
On Thu, 11 Jun 2015 14:48:44 +1000, Venkata Balaji N wrote: > On Wed, Jun 10, 2015 at 6:47 PM, wrote: > Is it normal that pg_basebackup runs successfully (rc=0) and there is no > WAL files present? > > Yes, it is normal. "pg_basebackup" ensures that required WALs are backed > along with the da

Re: [GENERAL] Missing WALs when doing pg_basebackup from slave...

2015-06-10 Thread Venkata Balaji N
On Wed, Jun 10, 2015 at 6:47 PM, wrote: Is it normal that pg_basebackup runs successfully (rc=0) and there is no > WAL files present? > Yes, it is normal. "pg_basebackup" ensures that required WALs are backed along with the data directory. This is to ensure backup is consistent. > The master a

[GENERAL] Missing WALs when doing pg_basebackup from slave...

2015-06-10 Thread marin
I have been testing a master slave configuration of PostgreSQL 9.4.2 using streaming replciation. The master is initialised with a blank database and the slave is created with a pg_start_backup()/rsync/pg_stop_backup() procedure. The slave connects to the master and works flawlessly. For testing pu