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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера