I am new to Postgres database. I have to get the backup from Production Server (pgAdmin Version is 9.2.4) & restore it on my local machine (I have pgAdmin Version 9.4).
I was stuck here when creating the database dump file due to version mismatch. So I follow the below command to get the backup and restore.
pg_dump -h localhost -U postgres -p 5432 YourDbName > BackupFileName.dump