Got some things backwards: > 1 - dump your databases (pg_dump -Fc yourdatabasename > yourdumpfile) > 2a - remove your old software > 2b - install the new software > 3 - load your dump files with the migration script > postgis_restore.pl \ > /your/path/to/postgis.sql \ > your_new_databasename \ > yourdumpfile > 4 - ... > 5 - profit!