The idea is to make one pg_dump of the server and to keep in the machine of client. And to restore this pg_dump when it will be necessary through the machine of the client. Perhaps I will have that to use some store procedure in the server, I do not know
Marlon Petry wrote: > I am trying to develop, a API to carry through backup and > restore through JDBC. > I think that the best form is to use JNI. > Some Suggestion?
Do you mean 'backup' or 'export/dump'? If you mean 'export', do you need anything besides SQL? If you mean 'backup', how do you want to restore from a client machine when there is no server running? And if you're on the server, why would you want to use Java?
Yours, Laurenz Albe
-- Marlon
"A busca infinita à felicidade nos priva de vivê-la a cada dia..." (Elba Lucas)