Moving data to another disk

Поиск
Список
Период
Сортировка
От Clodoaldo Pinto Neto
Тема Moving data to another disk
Дата
Msg-id a595de7a0610021059g4d9c5d21m2f4cbb9d5275d697@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
I want to move the data directory to another disk and mantain the
config files in the same place. I will change the data_directory
parameter in postgresql.conf.

I could just copy everything under /var/lib/pgsql/data to the other
disk but I also want to clean the diretory now used thus I need to
know for sure what files/directories are data.

I have read the 50.1 section of the postgres manual.

I suppose all directories under /var/lib/pgsql/data are data
directories and i guess the postmaster.opts, postmaster.pid and
PG_VERSION files should stay in the config directory and obviously the
*.conf files are config files. Am i right?

Regards, Clodoaldo

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re:    Hi,&nbs
Следующее
От: Eberhard Lisse
Дата:
Сообщение: Re: Potentially annoying question about date ranges (part 2)