If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > pg_restore: [archiver] unsupported version (1.11) in file header postgresql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-10, 05:38
kranthipoturaju kranthipoturaju is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
Question pg_restore: [archiver] unsupported version (1.11) in file header postgresql

Hello friends,

I am Kranthi here..

I am using PostgreSQL version 1.8.4 (Nov 6 200, rev 7358)

Up to now i worked on Windows XP env.

I wanted to migrate to Linux (Ubuntu v 9.04).

So, on Ubuntu i have installed Postgresql of same version 1.8.4. And, i tried to restore the data what i have taken (backup) in windows env.

When i am trying to restore using PGADMIN III, I am getting the error like this: "pg_restore: [archiver] unsupported version (1.11) in file header postgresql"

So, can any one of you tell me the procedure to take backup.

I am looking for ur reply......
Reply With Quote
  #2 (permalink)  
Old 02-03-10, 05:52
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
There is no Postgres version 1.8.4, do you mean 8.4.1?

How exactly did you take the backup on your Windows box (what was the exact command you used?
Reply With Quote
  #3 (permalink)  
Old 02-03-10, 23:51
kranthipoturaju kranthipoturaju is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
Sorry...!!

What i mean is PGADMIN 1.8.4

I have taken backup on WIndows System using same version.

Here in linux (ubuntu 9.10) also i am using the same version.
Reply With Quote
  #4 (permalink)  
Old 02-04-10, 02:29
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Quote:
Originally Posted by kranthipoturaju View Post
I have taken backup on WIndows System using same version.

Here in linux (ubuntu 9.10) also i am using the same version.
How did you take the backup? what were the parameters you passed to pg_dump (or pg_dumpall)
Reply With Quote
  #5 (permalink)  
Old 02-04-10, 03:17
kranthipoturaju kranthipoturaju is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
Using PGADMIN 3:

PGADMIN will provide one functionality Backup.....
I have taken backup with that tool. Not with command (pg_dump).

And, it is providing one more tool restore..
But, the restore is returning error.
Reply With Quote
  #6 (permalink)  
Old 02-04-10, 04:06
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Did you have a look at the export file? Is that a plain text (SQL) file or a binary file?

If it is plain text you simply run the SQL script. I don't know PGAdmin, but it seems that the restore feature assumes a binary file.
Reply With Quote
  #7 (permalink)  
Old 02-04-10, 05:01
kranthipoturaju kranthipoturaju is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
i am having only *.backup file....
Reply With Quote
  #8 (permalink)  
Old 02-04-10, 05:02
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
And is that plain text or binary?
Reply With Quote
  #9 (permalink)  
Old 02-04-10, 06:13
kranthipoturaju kranthipoturaju is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
binary........
Reply With Quote
  #10 (permalink)  
Old 02-04-10, 08:06
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 2,408
Then you'll need to use pg_restore. I have no idea where this is hidden in the pgAdmin menus.

Try to restore it using pg_restore, and see if you still get the same error

PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: pg_restore

If you get the same error, then there is something wrong with your backup and you should take a new backup from your source (using the commandline tools rather than pgAdmin)
Reply With Quote
Reply

Tags
error, pgadmin 3, postgresql, resotre-backup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On