Re: Exporting database

Поиск
Список
Период
Сортировка
От Anthony E. Greene
Тема Re: Exporting database
Дата
Msg-id 3.0.5.32.20000629152926.007c2bb0@fmol.5sigcmd.army.mil
обсуждение исходный текст
Ответ на Exporting database  ("Anupam Sanghera" <anupams@sapientinfotech.com>)
Список pgsql-admin
At 17:01 2000-06-26 +0530, Anupam Sanghera wrote:
>
>How can I export a postgres database to another server ?
>

Put the data into a file like this:

  psql -D dbname dbname.dump.gz

Then copy the file to the new machine and do this:

  createdb dbname
  psql dbname < dbname.dump


 Tony
 --
 Anthony E. Greene <agreene@pobox.com>
 PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
 Linux: The choice of a GNU Generation.

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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: URGENT PROBLEM: connection time-outs of postgresql backend/frontend
Следующее
От: "Irfan Qaiser"
Дата:
Сообщение: problem in pg_hba.conf file