Re: database backup - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: database backup
Date
Msg-id 20020707133814.A23587@svana.org
Whole thread Raw
In response to Re: database backup  (Lamar Owen <lamar.owen@wgcr.org>)
Responses Re: database backup
List pgsql-general
On Sat, Jul 06, 2002 at 11:03:12PM -0400, Lamar Owen wrote:
> On Saturday 06 July 2002 10:59 pm, Doug Fields wrote:
> > If you want to "incrementalize" it, you could always keep a base, and diff
> > the new dump against it, and store just the diff.
>
> > Be sure to run the output through bzip2 (or gzip -9) to save space.
>
> This doesn't work as well in practice as it would seem.  Due to funkiness, the
> output of pg_dump isn't (or wasn't the last time I tried diffing dumps)
> necessarily always in the same order.

Not just that, diff wants to be able to read the whole file in. Last I tried
to diff two 500MB files on a 256MB machine it was not pretty.

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.



pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: database backup
Next
From: Doug Fields
Date:
Subject: Re2: Odd new symptom - database locking up on a query