Re: PITR and tar - Mailing list pgsql-general

From Merlin Moncure
Subject Re: PITR and tar
Date
Msg-id b42b73150705081024v5151d47am620423865ed7f524@mail.gmail.com
Whole thread Raw
In response to Re: PITR and tar  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: PITR and tar
List pgsql-general
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?

merlin

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: PITR and tar
Next
From: Sean Murphy
Date:
Subject: Re: Idle session timeout?