Re: Restarting DB after moving to another drive

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Restarting DB after moving to another drive
Дата
Msg-id 555394DD.8050200@hogranch.com
обсуждение исходный текст
Ответ на Re: Restarting DB after moving to another drive  (Daniel Begin <jfd553@hotmail.com>)
Список pgsql-general
On 5/13/2015 11:06 AM, Daniel Begin wrote:
> I am then currently running pg_dumpall on the database. I will restore the cluster on the new drive once completed.
However,there is still something obscure in the process. The doc says "pg_dumpall requires all needed tablespace
directoriesto exist before the restore". External tablespaces directories are easy to create but what's about
pg_defaultand pg_global  tablespace since I never created specific tablespaces for them? 

those are created when you initdb the target cluster prior to restoring
the pg_dumpall output.



--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Daniel Begin
Дата:
Сообщение: Re: Restarting DB after moving to another drive
Следующее
От: Daniel Begin
Дата:
Сообщение: Re: Restarting DB after moving to another drive