Re: Backup with Java

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Backup with Java
Дата
Msg-id 456B0C4E.5070405@logix-tt.com
обсуждение исходный текст
Ответ на Backup with Java  ("tommaso.taruffi@ricesoft.it" <tommaso.taruffi@ricesoft.it>)
Список pgsql-jdbc
Hi, tomaso,

tommaso.taruffi@ricesoft.it wrote:

> 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.

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.

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

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: Postgres Server collapse
Следующее
От: imad
Дата:
Сообщение: Re: Backup with Java