Re: How to restore a dumbed file in postgreSQL

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: How to restore a dumbed file in postgreSQL
Дата
Msg-id 456765E8.11685.EE1E30@rod.iol.ie
обсуждение исходный текст
Ответ на How to restore a dumbed file in postgreSQL  (Yesh <rengesh2k3@yahoo.co.in>)
Список pgsql-general
On 23 Nov 2006 at 20:13, Yesh wrote:

>   I am a newbie to postgreSQL. I need to know the command for
> restoring a database that has been dumped. I am using postgreSQL8.1

If you dumped using the text format, simply use the resulting
dumpfile as input to psql, something like this -

psql -f <dumpfile>

- along with whatever other options are needed - see the online docs
for psql. If you used one of the binary options, you'll need to use
pg_restore - again, see the docs.

--Ray.

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

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



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

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: Re: Dollaw sign quoting disabled
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Connecting via ssh tunnel