Migrating Postgres from 9.2 to 9.3
I would do something like:

pg_dump -h localhost -W -U postgres --clean -f dbname.dump DBName


The move the file to the new server, create the new database with 

createdb DBName


then restore with:

psql -d DBName -f dbname.dump -v ON_ERROR_STOP=1


Remember that if you have tablespaces created on the old DB you will have to manually recreate them in the new DB before importing the dump.