Re: Can a database be restored successfully after new installation.

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Can a database be restored successfully after new installation.
Дата
Msg-id 20070202180345.GE11505@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Can a database be restored successfully after new installation.  ("Rohit Prakash Khare" <rohitprakash123@indiatimes.com>)
Список pgsql-general
On Fri, Feb 02, 2007 at 11:27:38PM +0530, Rohit Prakash Khare wrote:
> If I have a backup of pgsql database and I take this dump file to
> another machine where postgresql is freshly installed with standard
> settings. Will I be able to restore the database?

How did you backup?  pg_dump?  Sure, oughta work fine, assuming you
have all the necessary support in your target system.  (e.g. if
you're using plpgsql, for instance, you need to have performed
createlang for it, &c.)

A


--
Andrew Sullivan  | ajs@crankycanuck.ca
Unfortunately reformatting the Internet is a little more painful
than reformatting your hard drive when it gets out of whack.
        --Scott Morris

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Predicted lifespan of different PostgreSQL branches
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Predicted lifespan of different PostgreSQL branches