Re: Backup and restore through JDBC

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Marlon Petry <marlonpetry(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Backup and restore through JDBC
Date: 2006-09-29 12:55:13
Message-ID: 451D17B1.5040001@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-09-29 12:58:10 Re: Block B-Tree concept
Previous Message Marlon Petry 2006-09-29 12:45:22 Re: Backup and restore through JDBC