Re: PostgreSQL backup issue

2018-05-26 Thread Jayadevan M
> > > I would conclude that pg-basebackup is placing its output in stderr > instead of stdout then... > > > Thanks. Modifying the last potion to '>>$logfile 2>&1' worked. Regards, Jayadevan

Re: PostgreSQL backup issue

2018-05-22 Thread Michael Paquier
On Tue, May 22, 2018 at 10:35:46PM -0700, David G. Johnston wrote: > I would conclude that pg-basebackup is placing its output in stderr instead > of stdout then... The output of pg_basebackup's verbose mode goes to stderr (look for example at the verbose flags in pg_basebackup.c). -- Michael si

Re: PostgreSQL backup issue

2018-05-22 Thread David G. Johnston
On Tuesday, May 22, 2018, Jayadevan M wrote: > pg_basebackup ... | tee -- Also, the output from pg_basebackup does not > get logged in $logfile even on those days when the backup works fine. > I would conclude that pg-basebackup is placing its output in stderr instead of stdout then... David J