From: | "John S(dot)Abraham" <john(dot)abraham(at)sysbuild(dot)net> |
---|---|
To: | <tommaso(dot)taruffi(at)ricesoft(dot)it>, <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Backup with Java |
Date: | 2006-11-27 15:22:02 |
Message-ID: | !&!AAAAAAAAAAAYAAAAAAAAAIDzGk8I/H1JpJ6cNyDvhCnCgAAAEAAAAOPEnk5uicJDvN4FOaYInLMBAAAAAA==@sysbuild.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of
tommaso(dot)taruffi(at)ricesoft(dot)it
Sent: November 27, 2006 10:00 AM
To: pgsql-jdbc(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2006-11-27 15:33:06 | Re: Postgres Server collapse |
Previous Message | Sistemasvi | 2006-11-27 15:19:49 | Postgres Server collapse |