Re: Backup of multiple tables

Поиск
Список
Период
Сортировка
От Alexander M. Pravking
Тема Re: Backup of multiple tables
Дата
Msg-id 20030919141917.GA71229@dyatel.antar.bryansk.ru
обсуждение исходный текст
Ответ на Backup of multiple tables  (Andreas Joseph Krogh <andreak@officenet.no>)
Список pgsql-sql
On Fri, Sep 19, 2003 at 01:54:01PM +0200, Andreas Joseph Krogh wrote:
> I usually backup my database with pg_backup without the -t option. But now I
> need to only backup certain tables(say tab1 and tab2), is this possible with
> pg_dump? I've tried with "pg_dump -t tab1 -t tab2" without success.

Here's a perl script I used to dump all the tables separately.
I'm not sure most of options do work there, I didn't test ;-)
It won't be hard to make it dump certain tables, I think.


--
Fduch M. Pravking

Вложения

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

Предыдущее
От: "Richard Sydney-Smith"
Дата:
Сообщение: restoring dbschema
Следующее
От: "Alexander M. Pravking"
Дата:
Сообщение: Re: Backup of multiple tables