Why am I getting pg_restore: [archiver] unsupported version (1.13) in file header error with pg_restore?


I get an error pg_restore: [archiver] unsupported version (1.13) in file header when I try to restore a dump file that was created using Heroku PGBackups (heroku pg:backups:capture or scheduled backups) feature or using pg_dump with one-off dynos.


You're using an old version of pg_restore binary that doesn't support restoring the provided dump file. Please make sure that you use the latest Postgres version, which must be higher than the following release: https://www.postgresql.org/about/news/1834/ (10.3, 9.6.8, 9.5.12, 9.4.17, and 9.3.22).

You can check the pg_restore version you're using by running pg_restore --version.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018 Salesforce.com