pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: tommaso.taruffi@ricesoft.it <tommaso.taruffi@ricesoft.it>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Backup with Java
Date: Mon, 27 Nov 2006 17:03:26 +0100
Message-ID: <456B0C4E.5070405@logix-tt.com> (raw)
In-Reply-To: <456afd7a.330.e42.37531057@webh5.fe.aruba.it>
References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it>

Hi, tomaso,

tommaso.taruffi@ricesoft.it wrote:

> I have a question about how I can make a database backup
> with Java. I have made a class Connection.java that connect
> my application with Postgresql Database. I would make a
> function in this class for backup the state of the database.

If you want to make a complete, generic backup procedure, you'll have to
extract the necessary knowledge from the source of pg_dump / pg_dumpall.
AFAICT, there's no other place where this knowledge is documented.

In case something application-specific is enough, it's best to use a
domain specific data format for output.

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org



view thread (26+ messages)  latest in thread

Message-ID: <456B0C4E.5070405@logix-tt.com>
Permalink:  ../456B0C4E.5070405@logix-tt.com/
Also on:    postgresql.org/message-id/456B0C4E.5070405@logix-tt.com

 · 

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: schabi@logix-tt.com, tommaso.taruffi@ricesoft.it
  Subject: Re: Backup with Java
  In-Reply-To: <456B0C4E.5070405@logix-tt.com>
  References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> <456B0C4E.5070405@logix-tt.com>

* 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