Re: copying database?

Поиск
Список
Период
Сортировка
От Holger Marzen
Тема Re: copying database?
Дата
Msg-id 60853.62.181.135.97.1015241210.squirrel@bluebell.marzen.de
обсуждение исходный текст
Ответ на copying database?  (hubert depesz lubaczewski <depesz@depesz.pl>)
Ответы Re: copying database?  (hubert depesz lubaczewski <depesz@depesz.pl>)
Список pgsql-general
> i have working installation of postgresql 7.2 in one location.
> then i have devel machine which should have more or less curent
> database on it.
> problems:
> 1. database is > 1gigabytes of data
> 2. devel machine need r/w access, but all changes to this database has
> to be overwritten when downloading new version from working
> installation 3. i cannot shut down working installation even for a
> moment.
>
> pg_dump is nto an option - due to time of inserting >1G data into new
> database.

You can pipe the output to gzip (makes the file probably smaller) or split
(splits it into smaller pieces). Restore with "cat file1 file2 file2 | psql dbname".


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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: copying database?
Следующее
От: Mark Rae
Дата:
Сообщение: Re: Aborting transaction on error