Skip site navigation (1) Skip section navigation (2)

Re: Backup with Java

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: "tommaso(dot)taruffi(at)ricesoft(dot)it" <tommaso(dot)taruffi(at)ricesoft(dot)it>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Backup with Java
Date: 2006-11-27 16:03:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Hi, tomaso,

tommaso(dot)taruffi(at)ricesoft(dot)it wrote:

> I have a question about how I can make a database backup
> with Java. I have made a class that connect
> my application with Postgresql Database. I would make a
> function in this class for backup the state of the database.

If you want to make a complete, generic backup procedure, you'll have to
extract the necessary knowledge from the source of pg_dump / pg_dumpall.
AFAICT, there's no other place where this knowledge is documented.

In case something application-specific is enough, it's best to use a
domain specific data format for output.

Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe!

In response to

pgsql-jdbc by date

Next:From: imadDate: 2006-11-27 18:20:17
Subject: Re: Backup with Java
Previous:From: Csaba NagyDate: 2006-11-27 15:38:07
Subject: Re: Postgres Server collapse

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group