Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 733509FA0FB for ; Thu, 30 Nov 2006 07:03:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 13074-04 for ; Thu, 30 Nov 2006 07:03:49 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 17B519F931E for ; Thu, 30 Nov 2006 07:03:52 -0400 (AST) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gpjhh-0006Al-4K for pgsql-jdbc@postgresql.org; Thu, 30 Nov 2006 12:03:45 +0100 Received: from 83.145.96.118 ([83.145.96.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Nov 2006 12:03:45 +0100 Received: from Marc.Herbert by 83.145.96.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Nov 2006 12:03:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: Backup with Java Date: Thu, 30 Nov 2006 12:03:30 +0100 Lines: 21 Message-ID: References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> <1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com> <456E15EE.2010604@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83.145.96.118 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:+ThxaiK9cXwNuIfOwfZQll/+q1o= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.448 tagged_above=0 required=5 tests=BAYES_40, FORGED_RCVD_HELO, RCVD_NUMERIC_HELO, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200611/178 X-Sequence-Number: 16220 Dave Cramer writes: > I'd strongly suggest you exec pg_dump from the command line using > System.exec and connect to the remote database. This is certainly re- > inventing a non-trivial wheel. We have implemented this, with a couple of additional checks This code is generic, designed to support not only PostgreSQL. We could try to externalize it into an independent project if a significant number of people are interested and... provided it's not too hard to detach it from sequoia (no promise here). We also interested by alternatives approaches.