Re: Need some help on PG database transfer

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Need some help on PG database transfer
Дата
Msg-id AANLkTil7uzljDhGYpwe_ZuURo120PQ0cSYQ_ppZlHuM0@mail.gmail.com
обсуждение исходный текст
Ответ на Need some help on PG database transfer  (Steeles <steeles@gmail.com>)
Список pgsql-general
On Thu, Jul 22, 2010 at 2:08 PM, Steeles <steeles@gmail.com> wrote:
> Hi all,
>
> I am doing some tests on the file level copying for one of database in
> windows platform. Here is what I want to achieve.
>
> copy files within PG tablespace folder where PG database resides to target
> machine. I want to attache the copied data to target PG database.

That won't work.  You have to pg_dump out the tables / tablespace and
then psql or pg_restore it to the other db.

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

Предыдущее
От: Steeles
Дата:
Сообщение: Need some help on PG database transfer
Следующее
От: Peter Hunsberger
Дата:
Сообщение: Re: Bitmask trickiness