Re: Backup with Java
От | John S.Abraham |
---|---|
Тема | Re: Backup with Java |
Дата | |
Msg-id | !&!AAAAAAAAAAAYAAAAAAAAAIDzGk8I/H1JpJ6cNyDvhCnCgAAAEAAAAOPEnk5uicJDvN4FOaYInLMBAAAAAA==@sysbuild.net обсуждение исходный текст |
Ответ на | Backup with Java ("tommaso.taruffi@ricesoft.it" <tommaso.taruffi@ricesoft.it>) |
Ответы |
Re: Backup with Java
|
Список | 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 по дате отправления: