Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 301B49FB266 for ; Mon, 27 Nov 2006 14:20:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 16425-09 for ; Mon, 27 Nov 2006 14:20:19 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by postgresql.org (Postfix) with ESMTP id BACB09FA621 for ; Mon, 27 Nov 2006 14:20:20 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1063528ugf for ; Mon, 27 Nov 2006 10:20:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=le/Jqzm4LXhZkANDX70CLUSljg63Ldf4eEh61oAUtL6aUhgA1t3VlhCqFcrYiW16eMwXrnrljuF2A+CTzA9yKnV3C23wrpfVE8IZm2fRk4bOYahWnsXLijTuk+3SciTyHc+45qMDu3BvWo/wxTotpPMc1a4v/dAvvhQVcJmj56M= Received: by 10.82.101.3 with SMTP id y3mr2097273bub.1164651617793; Mon, 27 Nov 2006 10:20:17 -0800 (PST) Received: by 10.82.161.3 with HTTP; Mon, 27 Nov 2006 10:20:17 -0800 (PST) Message-ID: <1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com> Date: Mon, 27 Nov 2006 23:20:17 +0500 From: imad To: "tommaso.taruffi@ricesoft.it" Subject: Re: Backup with Java Cc: pgsql-jdbc@postgresql.org In-Reply-To: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/145 X-Sequence-Number: 16187 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 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 >