pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Csaba Nagy <nagy@ecircle-ag.com>
To: Marc Herbert <Marc.Herbert@continuent.com>
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Backup with Java
Date: Fri, 01 Dec 2006 10:35:37 +0100
Message-ID: <1164965737.13204.264.camel@coppola.muc.ecircle.de> (raw)
In-Reply-To: <khj3b804xpm.fsf@continuent.com>
References: <khj3b804xpm.fsf@continuent.com>

> Sorry I think I got it finally: what you are saying is that pg_dump is
> not only a backup tool, but some kind of database format conversion
> tool. Now I think I understand why implementing externally makes sense.

This is what I meant.

> However, it would be nice to also have a simple, non-converting
> pg_dumb_dump utility available, easy to re-implement and maintain in
> other languages than C with minimal duplication. Something based on a
> two commands only protocol: "SAVE DATABASE" and "RESTORE DATABASE".
> 
> Most backups operations do not care about cross-compatibility. Backups
> happen much more often than upgrades!

Actually, if there were a working and maintained pg_upgrade, I'm pretty
sure nobody would use pg_dump as an upgrade facility anymore. Then it
could be integrated to the server...

Or alternatively, given that when you upgrade you usually dump/reload
anyway, the new server itself could connect to the old one and pull the
dump/reload in one go.

Cheers,
Csaba.





view thread (26+ messages)  latest in thread

Message-ID: <1164965737.13204.264.camel@coppola.muc.ecircle.de>
Permalink:  ../1164965737.13204.264.camel@coppola.muc.ecircle.de/
Also on:    postgresql.org/message-id/1164965737.13204.264.camel@coppola.muc.ecircle.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: nagy@ecircle-ag.com, Marc.Herbert@continuent.com
  Subject: Re: Backup with Java
  In-Reply-To: <1164965737.13204.264.camel@coppola.muc.ecircle.de>
  References: <khj3b804xpm.fsf@continuent.com> <1164965737.13204.264.camel@coppola.muc.ecircle.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox