Re: Backup and restore through JDBC - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Backup and restore through JDBC
Date
Msg-id 451D17B1.5040001@dunslane.net
Whole thread Raw
In response to Re: Backup and restore through JDBC  ("Marlon Petry" <marlonpetry@gmail.com>)
Responses Re: Backup and restore through JDBC  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
Marlon Petry wrote:
>
>
>     pg_dump and pg_restore do not need to run on the server machine.
>     Why not
>     just run them where you want the dump stored?
>
>
>
>
> But I would need to have installed pg_dump and pg_restore in machine 
> client?
> Without having installed pg_dump and pg_restore,how I could make
>
>


You can't. pg_dump in particular embodies an enormous amount of 
knowledge that simply does not exist elsewhere. There is no dump/restore 
API, and there is nothing you can hook up to using JNI, AFAIK.

cheers

andrew



pgsql-hackers by date:

Previous
From: "Marlon Petry"
Date:
Subject: Re: Backup and restore through JDBC
Next
From: Simon Riggs
Date:
Subject: Re: Block B-Tree concept