pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Csaba Nagy <nagy@ecircle-ag.com>
To: Tomi N/A <hefest@gmail.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Marc Herbert <Marc.Herbert@continuent.com>
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Backup with Java
Date: Thu, 30 Nov 2006 18:24:15 +0100
Message-ID: <1164907455.13204.255.camel@coppola.muc.ecircle.de> (raw)
In-Reply-To: <d487eb8e0611300915g7c677056scb3afaf264ef035d@mail.gmail.com>
References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it>
	<1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com>
	<E20A0078-2A8A-4F3E-BB8D-EEE7BBABF6B0@decibel.org>
	<456E15EE.2010604@web.de>
	<CFAFD8EF-7F66-4DF0-AE45-6B8E5F1708C8@fastcrypt.com>
	<khj3b815h8d.fsf@continuent.com>
	<456ED08E.1030101@ipcon.de>
	<khjvekx3p7l.fsf@continuent.com>
	<664B3E94-C366-4B3A-8688-8B936E9098EC@fastcrypt.com>
	<d487eb8e0611300915g7c677056scb3afaf264ef035d@mail.gmail.com>

> Yeah, but the way this have been architected, it's impossible to do a
> backup over the network, i.e. with only the 5432 port at your
> disposal. And that's just one of the _obvious_ drawbacks...the way I
> see it, the way to do it would be to move the dump code into the
> database server. Let _the_server_ do all the hard work and let the
> application on the other end do whatever it wants with the (supposedly
> plain text) dump. That's flexibility, and it wouldn't require
> rewriting the dump utility - just a move into the server itself.

The main reason it's not done so is because pg_dump is working across
server versions. You will want to do the dump using the newer pg_dump,
because it can create SQL which compensates for postgres internal
changes like user/group/role creation syntax and the like.

If you tie the dump software to the server, how will you do a dump of an
old server using the new dump client ?

Cheers,
Csaba.





view thread (26+ messages)  latest in thread

Message-ID: <1164907455.13204.255.camel@coppola.muc.ecircle.de>
Permalink:  ../1164907455.13204.255.camel@coppola.muc.ecircle.de/
Also on:    postgresql.org/message-id/1164907455.13204.255.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, hefest@gmail.com, pg@fastcrypt.com, Marc.Herbert@continuent.com
  Subject: Re: Backup with Java
  In-Reply-To: <1164907455.13204.255.camel@coppola.muc.ecircle.de>
  References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> <1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com> <E20A0078-2A8A-4F3E-BB8D-EEE7BBABF6B0@decibel.org> <456E15EE.2010604@web.de> <CFAFD8EF-7F66-4DF0-AE45-6B8E5F1708C8@fastcrypt.com> <khj3b815h8d.fsf@continuent.com> <456ED08E.1030101@ipcon.de> <khjvekx3p7l.fsf@continuent.com> <664B3E94-C366-4B3A-8688-8B936E9098EC@fastcrypt.com> <d487eb8e0611300915g7c677056scb3afaf264ef035d@mail.gmail.com> <1164907455.13204.255.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