Re: restore a server backup

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: restore a server backup
Дата
Msg-id 4D6CCF9B.3080800@iol.ie
обсуждение исходный текст
Ответ на restore a server backup  (Malm Paul <paul.malm@saabgroup.com>)
Список pgsql-general
On 01/03/2011 06:37, Malm Paul wrote:
> Hi, I've used PgAdmin III to store a server backup. But I'm not able to
> restore it.
> Please, could any one tell me how to do it? Im using version 1.10

Hi there,

Did you create a text or binary backup?

If binary, you either (i) use pg_restore on the command line, or (ii)
use pgAdmin's "restore" option from the menu you get when right-clicking
on the tree view (which just uses pg_restore anyway).

If you created a text backup, you'll need to feed it to psql on the
command line:

   psql -f <backup-file.sql> <database-name>

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

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

Предыдущее
От: Adarsh Sharma
Дата:
Сообщение: Tool for shifting tables from Mysql to Postgresql
Следующее
От: Raghavendra
Дата:
Сообщение: Re: Tool for shifting tables from Mysql to Postgresql