Re: PITR and tar - Mailing list pgsql-general

From Jeff Davis
Subject Re: PITR and tar
Date
Msg-id 1178645330.24902.22.camel@dogma.v10.wvs
Whole thread Raw
In response to Re: PITR and tar  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: PITR and tar  ("Dhaval Shah" <dhaval.shah.m@gmail.com>)
List pgsql-general
On Tue, 2007-05-08 at 13:24 -0400, Merlin Moncure wrote:
> On 5/8/07, Jeff Davis <pgsql@j-davis.com> wrote:
> > On Tue, 2007-05-08 at 08:47 +0200, Albe Laurenz wrote:
> > > > The docs recommend using tar to perform a base backup for PITR.
> > > >
> > > > Usually, tar reports notices like:
> > > > "tar: Truncated write; file may have grown while being archived."
> > >
> > > Did you call pg_start_backup(text) before you started to archive?
> > >
> >
> > I was referring to the result of the tar itself being a corrupted gzip
> > file (that couldn't be uncompressed with gunzip).
> >
> > I did indeed call pg_start/stop_backup().
>
> is fsync on?
>

Yes. I have a battery-backed cache as well, and there were no power
failures involved.

Regards,
    Jeff Davis


pgsql-general by date:

Previous
From: Sean Murphy
Date:
Subject: Re: Idle session timeout?
Next
From: Jeff Davis
Date:
Subject: Re: PG on Debian 4.0.x ?