Re: Restore/dump from "/usr/local/pgsql/data" directory

Поиск
Список
Период
Сортировка
От kongsgar@stud.ntnu.no
Тема Re: Restore/dump from "/usr/local/pgsql/data" directory
Дата
Msg-id 20100924092445.a2ibgdeu68c8kws4@webmail.ntnu.no
обсуждение исходный текст
Ответ на Re: Restore/dump from "/usr/local/pgsql/data" directory  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Restore/dump from "/usr/local/pgsql/data" directory  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
To specify: I have a copy of the data in "/usr/local/pgsql/data" from
my old, but I don't have access to the old system anymore so I cannot
simply do a "pg_dumpall" from there.

I believe I could copy the content of "/usr/local/pgsql/data" into
"/usr/local/pgsql/data" on my new system. But is there an alternative?

-Håvard Wahl Kongsgård


> kongsgar@stud.ntnu.no wrote:
>> Hi,
>> I have a copy of "/usr/local/pgsql/data" from old server. Is it
>> possible to do a dump of the sql databases in this directory, so that
>> I can easily migrate them to my current system?
>
> Yes, run pg_dumpall, save it, and load it into the new system.  You
> really haven't given us much information on what problem you are having.
>
> --
>   Bruce Momjian  <bruce@momjian.us>        http://momjian.us
>   EnterpriseDB                             http://enterprisedb.com
>
>   + It's impossible for everything to be true. +
>
>




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Nested literal parsing rules?
Следующее
От: Allan Kamau
Дата:
Сообщение: Favourable index type for varbit field