Re: Backup with Java - Mailing list pgsql-jdbc

From John S.Abraham
Subject Re: Backup with Java
Date
Msg-id !&!AAAAAAAAAAAYAAAAAAAAAIDzGk8I/H1JpJ6cNyDvhCnCgAAAEAAAAOPEnk5uicJDvN4FOaYInLMBAAAAAA==@sysbuild.net
Whole thread Raw
In response to Backup with Java  ("tommaso.taruffi@ricesoft.it" <tommaso.taruffi@ricesoft.it>)
Responses Re: Backup with Java
List pgsql-jdbc

Tommaso:

Why not try pg_dumpall, instead?

 

The file that this command creates allows a complete regeneration of the database cluster, including users and user permissions. Even better, its already written and you can schedule it using the UNIX/LINUX command 'cron'.

 

John S. Abraham

Designer/Analyst

SysBuild Inc.

 

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of tommaso.taruffi@ricesoft.it
Sent: November 27, 2006 10:00 AM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] Backup with Java

 

Hello,

I have a question about how I can make a database backup

with Java. I have made a class Connection.java that connect

my application with Postgresql Database. I would make a

function in this class for backup the state of the database.

Anyone can help me?

 

Thanks!

Dr. Tommaso Taruffi

 

---------------------------(end of broadcast)---------------------------

TIP 7: You can help support the PostgreSQL project by donating at

 

                http://www.postgresql.org/about/donate

pgsql-jdbc by date:

Previous
From: "tommaso.taruffi@ricesoft.it"
Date:
Subject: Backup with Java
Next
From: "Sistemasvi"
Date:
Subject: Postgres Server collapse