From: | "Michael Schmidt" <michaelmschmidt(at)msn(dot)com> |
---|---|
To: | <tommaso(dot)taruffi(at)ricesoft(dot)it>, "imad" <immaad(at)gmail(dot)com> |
Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Backup with Java |
Date: | 2006-11-27 19:30:01 |
Message-ID: | BAY114-DAV1172F8877B20F998561EB6A3E60@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Mr. Taruffi,
The PostgreSQL backup, restore, vacuum, and reindex utilities are all included in Komo, a basic Java (Eclipse rcp) GUI. You can look at the code and adapt it to your application. Komo can be accessed and downloaded at pgFoundry
Michael Schmidt
----- Original Message -----
From: imad<mailto:immaad(at)gmail(dot)com>
To: tommaso(dot)taruffi(at)ricesoft(dot)it<mailto:tommaso(dot)taruffi(at)ricesoft(dot)it>
Cc: pgsql-jdbc(at)postgresql(dot)org<mailto:pgsql-jdbc(at)postgresql(dot)org>
Sent: Monday, November 27, 2006 11:20 AM
Subject: Re: [JDBC] Backup with Java
Read and understand the file 'src/bin/pg_dump/pg_dump.c' in the postgresql
core server code base. This is the only solution of your problem, you are going
to rewrite all the C code in JAVA.
--Imad
www.EnterpriseDB.com<http://www.enterprisedb.com/>
On 11/27/06, tommaso(dot)taruffi(at)ricesoft(dot)it<mailto:tommaso(dot)taruffi(at)ricesoft(dot)it> <tommaso(dot)taruffi(at)ricesoft(dot)it<mailto:tommaso(dot)taruffi(at)ricesoft(dot)it>> wrote:
> 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<http://www.postgresql.org/about/donate>
>
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
From | Date | Subject | |
---|---|---|---|
Next Message | imad | 2006-11-27 19:51:11 | Re: Backup with Java |
Previous Message | imad | 2006-11-27 18:26:07 | Re: Postgres Server collapse |