Re: File system level copy

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: File system level copy
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C208AF0CBE@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: File system level copy  ("Wang, Hao" <Hao.Wang@emc.com>)
Список pgsql-general
Hao Wang wrote:

> My purpose is not to do backup for my database.

I understood that.  It was just a side comment.

> I just want to copy the whole db3 database to another
> machine and restore it. That database could be very large so I think
directly copy is more efficient
> than pg_dump.  So I'd like to do some test to see if this way works.
If it doesn't work, I will
> consider to use pg_dump.

Any attempt to make a file system copy of a live system without
doing PITR will very likely cause data corruption.

You'll have to use pg_dump.

Yours,
Laurenz Albe


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

Предыдущее
От: hari.fuchs@gmail.com
Дата:
Сообщение: Re: Finding first free time from reservations table
Следующее
От: Vishalakshi Navaneethakrishnan
Дата:
Сообщение: Postgres Index