Re: Online backups are failing

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Bhella Paramjeet-PFCW67 <PBhella(at)Motorola(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org, Subbiah Stalin-XCGF84 <SSubbiah(at)Motorola(dot)com>
Subject: Re: Online backups are failing
Date: 2009-01-21 00:02:26
Message-ID: 1232496146.2327.298.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


On Tue, 2009-01-20 at 14:21 -0500, Bhella Paramjeet-PFCW67 wrote:

> First we saw this problem on our postgres 8.2.7 database where we had
> the "stats_block_level" parameter turned on in postgresql.conf file.
> After I turned off stats_block_level parameter, our backups did not
> fail.

Seems like the stats files are changing while being copied.

I'd suggest excluding global/pgstat* from the backup.

Stats are reset at recovery anyway, so you've lost nothing.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Abdul Rahman 2009-01-21 07:46:25 autovacuum daemon
Previous Message Joshua D. Drake 2009-01-20 19:45:28 Re: Online backups are failing