Re: 9.0 standby - could not open file global/XXXXX

2019-02-27 Thread Filip Rembiałkowski
OK I have it fixed;; just for anyone who's interested - the error was in the base backup procedure. When switched to plain "rsync -az" - it works like a charm. Most probably, the fault was I assumed that you can use the rsync --update option when doing base backup. You cannot, especially when tim

Re: 9.0 standby - could not open file global/XXXXX

2019-02-26 Thread Filip Rembiałkowski
On Tue, Feb 26, 2019 at 2:39 AM Andres Freund wrote: > > > 2. base backup is transferred directly to new server using > > pg_start_backup + rsync + pg_stop_backup. > I excluded contents of pg_xlog only. Exact command was: # start script psql -Xc "select pg_start_backup('mirror to $standby', true

Re: 9.0 standby - could not open file global/XXXXX

2019-02-26 Thread Filip Rembiałkowski
On Mon, Feb 25, 2019 at 11:45 PM Stephen Frost wrote: > > Greetings, > > * Filip Rembiałkowski (filip.rembialkow...@gmail.com) wrote: > > There is a large (>5T) database on PostgreSQL 9.0.23. > > First off, I hope you understand that 9.0 has been *long* out of > support and that you *really* need

Re: 9.0 standby - could not open file global/XXXXX

2019-02-25 Thread Andres Freund
Hi, On 2019-02-25 20:06:42 +0100, Filip Rembiałkowski wrote: > There is a large (>5T) database on PostgreSQL 9.0.23. As Stephen said, this is long out of support. > 2. base backup is transferred directly to new server using > pg_start_backup + rsync + pg_stop_backup. Do you exclude any files?

Re: 9.0 standby - could not open file global/XXXXX

2019-02-25 Thread Stephen Frost
Greetings, * Filip Rembiałkowski (filip.rembialkow...@gmail.com) wrote: > There is a large (>5T) database on PostgreSQL 9.0.23. First off, I hope you understand that 9.0 has been *long* out of support and that you *really* need to upgrade to a supported version of PostgreSQL (9.4 and up these day