Re: pg_start_backup: file has vanished from pg_subtrans/ - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: pg_start_backup: file has vanished from pg_subtrans/
Date
Msg-id 20150807155000.GW2441@postgresql.org
Whole thread Raw
In response to Re: pg_start_backup: file has vanished from pg_subtrans/  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Adrian Klaver wrote:
> On 08/07/2015 07:20 AM, Alvaro Herrera wrote:
> >Leo Baltus wrote:
> >>Hi,
> >>
> >>While backing up some postgresql-8.4.2 instances using
> >>pg_start_backup()/pg_stop_backup()
> >
> >8.4.2 was released in 2009, so you're missing all the bugfixes till July
> >2014 which is when the 8.4 branch was dropped out of support -- which
> >means you're also missing bugfixes from that point onwards.  I think you
> >need to jump to 8.4.22 (the last one in that release) because this might
> >be a fixed bug; and you should consider moving to one of the supported
> >branches very soon, at least 9.0 but that one's going to lose support
> >soon too so I may suggest something even newer.
>
> That being said, I thought:
>
> file has vanished: "............./data/pg_subtrans/3A37"
>
> would not be a bug but normal behavior.

Well, it's true that pg_subtrans files vanish during regular running.
WAL replay of the resulting backup *should* work fine regardless, and
this is just rsync being paranoid, but I'm not sure that it *actually*
works.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Strange deadlock in foreign key check
Next
From: Andreas Joseph Krogh
Date:
Subject: Inconsistent behaviour calling pg_try_advisory_xact_lock with sub-query and when JOIN'ing