Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

pg_restore: [archiver] unsupported version (1.13) in file header error with pg_restore

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
obo
Former Employee
Former Employee

pg_restore: [archiver] unsupported version (1.13) in file header error with pg_restore

Last Update:

Aug 24, 2020 8:44:54 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 19, 2018 4:54:02 AM

It is not possible to restore the database using the default version of pg_restore. 

The command results in error "pg_restore: [archiver] unsupported version (1.13) in file header"


Environment:

Qlik Sense June 2017 or higher

 

Resolution:

 

  1. install the latest version of pgAdmin4  from www.postgresql.org
  2. perform the restore using the pg_restore.exe binary from the pgAdmin  installation (default path: C:\Program Files (x86)\pgAdmin 4\v3\runtime ) instead than the one contained in C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin

    The command for running this from the default pgAdmin installation path would be:
"C:\Program Files (x86)\pgAdmin 4\v3\runtime\pg_restore.exe"  -h localhost -p 4432 -U postgres -d QSR "c:\QSR_backup.tar"

 

Cause:


The backup might have be taken with a version of pg_dump higher than the standard one included in Qlik Sense, like the one from a recent version of pgAdmin.


 

Labels (2)
Contributors
Version history
Last update:
‎2020-08-24 08:44 AM
Updated by: