From: | "Joshua D(dot) Drake" <jd(at)commandprompt(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-20 19:45:28 |
Message-ID: | 1232480728.16680.33.camel@jd-laptop.pragmaticzealot.org |
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:
> Hi,
>
> We are running into a problem where our online backups are failing
> randomly. We are using postgres 8.2.7 and we are seeing this problem in
> both Solaris and Linux platforms. Our online backup script copies the
> PGDATA dir with the command "cp -r -P".
>
> 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.
>
> Now we are seeing the problem of our online backups failing on our other
> databases which are on postgres 8.2.7 and 8.1.13 and on these DB's the
> stats_block_level parameter is turned off.
>
> Has anyone else run into this problem? Any suggestions on how to resolve
> this problem will be highly appreciated.
We need more information on what your script is actually doing. Are you
calling pg_start_backup before you do the cp? (also you really should
use rsync).
Joshua D. Drake
>
>
> Thanks
> Paramjeet Bhella
>
>
--
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2009-01-21 00:02:26 | Re: Online backups are failing |
Previous Message | Bhella Paramjeet-PFCW67 | 2009-01-20 19:43:34 | Re: Online backups are failing |