| From: | imad <immaad(at)gmail(dot)com> |
|---|---|
| To: | "Michael Schmidt" <michaelmschmidt(at)msn(dot)com> |
| Cc: | tommaso(dot)taruffi(at)ricesoft(dot)it, pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Backup with Java |
| Date: | 2006-11-27 19:51:11 |
| Message-ID: | 1f30b80c0611271151o5265b6d1sb4ce7c2b47c8443b@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
It just loads the respective utility from the database engine and use it. Does
not do anything itself.
--Imad
www.EnterpriseDB.com
On 11/28/06, Michael Schmidt <michaelmschmidt(at)msn(dot)com> wrote:
>
>
>
> 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
> To: tommaso(dot)taruffi(at)ricesoft(dot)it
> Cc: 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
>
>
> On 11/27/06, tommaso(dot)taruffi(at)ricesoft(dot)it <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
> >
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexys Lozada Casallas | 2006-11-27 23:36:47 | JDBC3 en applet |
| Previous Message | Michael Schmidt | 2006-11-27 19:30:01 | Re: Backup with Java |