Doubt with postgres backup?

2

I have a PostgreSQL 9.0 server on the same machine and also a PostgreSQL 9.4, I have a database on this latest version, when I try to make a backup I have the following error, how could I solve this problem?

  

C: / Program Files / PostgreSQL / 9.0 / bin \ pg_dump.exe --host localhost   --port 5432 --username "postgres" --format custom --blobs --encoding UTF8 --verbose --file "D: \ bck_hospi.backup" "hospi" pg_dump: version of   server: 9.4.1; version of pg_dump: 9.0.19 pg_dump: stopping   because the server version does not match pg_dump: *** aborted   because of error

     

Process returned exit code 1.

    
asked by anonymous 19.05.2015 / 04:08

1 answer

1

As answered in the comments by @ sanction :

"The error message indicates that you are trying to back up the server with version 9.4 from pg_dump.exe version 9.0 , perhaps using pg_dump.exe from version 9.4 fixes the problem. "

    
16.06.2017 / 18:18