Sorry for the late reply
Edit the postgresql.conf file: Find the data_directory parameter and set it to the new path you want to use. For example: data_directory = '/new/data/path'
To add on, you can run commands like df -h Show mounted filesystems along with disk usage lsblk List all block devices along with information like mountpoints, size, type
Haha , that is one of the reason why i started blogging because i realise i'm going through the same process multiple times these years. Glad you got it figured out!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry for the late reply
Edit the postgresql.conf file: Find the data_directory parameter and set it to the new path you want to use. For example:
data_directory = '/new/data/path'To add on, you can run commands like
df -hShow mounted filesystems along with disk usagelsblkList all block devices along with information like mountpoints, size, typeyah that didnt quite work for me. I did end up figuring it out though, from virgin install to new custom directory took 27 steps :/
Haha , that is one of the reason why i started blogging because i realise i'm going through the same process multiple times these years. Glad you got it figured out!