I'm running Ubuntu 10.10 and have a separate partition for my root directory. The partition wasn't set up with large databases in mind, so I would like to put my 2+GB PostgreSQL database on the /home partition.
The first piece of advice I ran into was the initlocation
command, but this is apparently for older versions of PostgreSQL.
Then I ran into the initdb
command, but this doesn't appear to be available on Ubuntu 10.10... for some reason.
How should I do this really?