Re: Working with one live and one development database

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Working with one live and one development database
Дата
Msg-id 4575A7DF.287.8871B@rod.iol.ie
обсуждение исходный текст
Ответ на Working with one live and one development database  (hugo.wetterberg@gmail.com)
Список pgsql-general
On 5 Dec 2006 at 2:59, hugo.wetterberg@gmail.com wrote:

> live database. We need to copy all data, structure information,
> functions et.c. from the live database to the development database
> every now and then. The development database will be on a separate
> machine. What is the best way to do this?

I do that every now and then.....I simply do a complete dump of the
database I need using pg_dump, and then reload it on the development
machine using psql (I generally do a text-format dump).

--Ray.


----------------------------------------------------------------------

Raymond O'Donnell
Director of Music, Galway Cathedral, Galway, Ireland
rod@iol.ie
----------------------------------------------------------------------



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: HELP: Urgent, Vacuum problem
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Working with one live and one development database