Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group