Re: database backup

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Doug Fields <dfields-pg-general(at)pexicom(dot)com>, Darren Ferguson <darren(at)crystalballinc(dot)com>, Sanjeev Rathore <intmail2002(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: database backup
Date: 2002-07-07 03:38:14
Message-ID: 20020707133814.A23587@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug Fields 2002-07-07 03:40:08 Re2: Odd new symptom - database locking up on a query
Previous Message Doug Fields 2002-07-07 03:20:47 Re: Odd new symptom - database locking up on a query