Re: Backup and Restore of PostgreSQL - Mailing list pgsql-general

From Lincoln Yeoh
Subject Re: Backup and Restore of PostgreSQL
Date
Msg-id 5.2.1.1.1.20040608005637.02e36af8@localhost
Whole thread Raw
In response to Backup and Restore of PostgreSQL  ("Tim Penhey" <tim@penhey.net>)
List pgsql-general
Well you might want to make sure the servlet only does one pg_dump at a
time to a particular file in a secured directory (making sure you don't
have any funny symlink problems) and all that sort of boring security,
reliability and predictability stuff. Don't forget the UI. The dump could
take a while.

At 11:27 AM 6/7/2004 -0400, Campano, Troy wrote:


>Easiest thing to do is to call pgsql from your servlet, have it dump the
>file somewhere in your web apps directory, and then either send the link
>to that file to the client or automatically forward the client there.
>
>Option 2 would be to use JDBC to view the meta data of the table and use
>it to write "CREATE" statements, and then build inserts from this data,
>but this would be very time consuming and difficult to do.


pgsql-general by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: Tsearch case sensitive with dotted search terms.
Next
From: Lincoln Yeoh
Date:
Subject: Re: Index question