pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: imad <immaad@gmail.com>
To: Michael Schmidt <michaelmschmidt@msn.com>
Cc: tommaso.taruffi@ricesoft.it
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Backup with Java
Date: Tue, 28 Nov 2006 00:51:11 +0500
Message-ID: <1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.com> (raw)
In-Reply-To: <BAY114-DAV1172F8877B20F998561EB6A3E60@phx.gbl>
References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it>
	<1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com>
	<BAY114-DAV1172F8877B20F998561EB6A3E60@phx.gbl>

It just loads the respective utility from the database engine and use it. Does
not do anything itself.


--Imad
www.EnterpriseDB.com


On 11/28/06, Michael Schmidt <michaelmschmidt@msn.com> wrote:
>
>
>
> Mr. Taruffi,
> The PostgreSQL backup, restore, vacuum, and reindex utilities are all
> included in Komo, a basic Java (Eclipse rcp) GUI.  You can look at the code
> and adapt it to your application.  Komo can be accessed and downloaded at
> pgFoundry
>
> Michael Schmidt
>
> ----- Original Message -----
> From: imad
> To: tommaso.taruffi@ricesoft.it
> Cc: pgsql-jdbc@postgresql.org
> Sent: Monday, November 27, 2006 11:20 AM
> Subject: Re: [JDBC] Backup with Java
>
> Read and understand the file 'src/bin/pg_dump/pg_dump.c' in the postgresql
> core server code base. This is the only solution of your problem, you are
> going
> to rewrite all the C code in JAVA.
>
> --Imad
> www.EnterpriseDB.com
>
>
> On 11/27/06, tommaso.taruffi@ricesoft.it <tommaso.taruffi@ricesoft.it>
> wrote:
> > Hello,
> > 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.
> > Anyone can help me?
> >
> > Thanks!
> > Dr. Tommaso Taruffi
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 7: You can help support the PostgreSQL project by donating at
> >
> >                 http://www.postgresql.org/about/donate
> >
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>



view thread (26+ messages)  latest in thread

Message-ID: <1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.com>
Permalink:  ../1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.com/
Also on:    postgresql.org/message-id/1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.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: immaad@gmail.com, michaelmschmidt@msn.com, tommaso.taruffi@ricesoft.it
  Subject: Re: Backup with Java
  In-Reply-To: <1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.com>
  References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> <1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com> <BAY114-DAV1172F8877B20F998561EB6A3E60@phx.gbl> <1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.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