Re: [GENERAL] Make basebackup use low level API and rsync

2014-04-22 Thread wd
PostgreSQL 9.2.4 On Tue, Apr 22, 2014 at 1:58 PM, Michael Paquier wrote: > > > > On Tue, Apr 22, 2014 at 1:28 PM, wd wrote: > >> I'v try to make a base backup use pg_start_backup, pg_stop_backup and >> rsync, but failed. >> >> After run select pg_start_backup('label') on db server, I run rsync

Re: [GENERAL] Make basebackup use low level API and rsync

2014-04-21 Thread Michael Paquier
On Tue, Apr 22, 2014 at 1:28 PM, wd wrote: > I'v try to make a base backup use pg_start_backup, pg_stop_backup and > rsync, but failed. > > After run select pg_start_backup('label') on db server, I run rsync on > backup server, and got some errors like 'file has vanished: ', think > this shou

[GENERAL] Make basebackup use low level API and rsync

2014-04-21 Thread wd
hi, I'v try to make a base backup use pg_start_backup, pg_stop_backup and rsync, but failed. After run select pg_start_backup('label') on db server, I run rsync on backup server, and got some errors like 'file has vanished: ', think this should be ok since it's documented in the manual. Then