Re: Backup and Restore of PostgreSQL

From: "Tim Penhey" <tim(at)penhey(dot)net>
To: "Richard Huxton" <dev(at)archonet(dot)com>
Cc: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup and Restore of PostgreSQL
Date: 2004-06-07 13:14:47
Message-ID: HOEPLDNJPCIDBMLHJFMICENFEJAA.tim@penhey.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton mentioned:
>
> Tim Penhey wrote:
> > Hi All,
> >
> > I have a java web server (Tomcat) running a web application that uses
> PostgreSQL for all
> > of the data. All of the management of the application is done through the
> web application
> > and I would like to provide a backup and restore option for the user. Backup would
> > somehow get all of the data/schema (maybe not schema) from the DB and zip it
> and send it
> > to the customer through the web-app to allow them to save the backup on their local
> > machine. They could then select this backup file to restore the DB to the
> state that it
> > was when the backup was taken.
>
> The pg_dump utility is the standard way to backup PostgreSQL and the
> custom format is already compressed.
>
> --
> Richard Huxton
> Archonet Ltd

The question though is how to call this from a java servlet / hopefully in a OS
independant way.

Tim

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2004-06-07 13:20:00 Re: [HACKERS] Slony-I goes BETA (possible bug)
Previous Message Pavel Stehule 2004-06-07 12:39:19 curius behavior of planner after analyze, (Pg7.5)