I have a PostGIS installation running on an old computer that I'd like to move. I spent a bunch of time playing with pg_dump and pg_dumpall without success. It seems the normal dump procedures don't work with PostGIS because file paths get hard coded in the output from pg_dump. Any suggestions on how to move PostGIS installation to a new installation of PostgreSQL?
This post http://traviscline.com/blog/2010/04/28/moving-postgis-databases-between-machines/ seems to indicate that
pg_dump -Fc is what you want.