Re: unsupported header version error

From: Fredy Khan <fredy18(at)gmail(dot)com>
To: Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: unsupported header version error
Date: 2011-04-14 05:13:33
Message-ID: BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you for your quick reply.

Well I am using windows XP and I have PgAdmin III 1.12.2 installed. I used
backup to take the backup of the database in UTF-8 format. MY pg_dump and
pg_restore both header version are 9.0.3.

The target PC where I want to restore my database also has windows xp
installed with postgresql *Version 9.0.3-1* with the same header versions
i.e. pg_dump and pg_restore both header version are 9.0.3. On the target PC,
I create a database, give it an owner, select templete 1 (as my orginal
database template is template1) and then I restore my original database from
my original PC using the right click database restore option in pgadminIII

On Wed, Apr 13, 2011 at 4:58 PM, Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com> wrote:

> Attached Error Message shows, that pgAdmin's pg_restore is not compatible
> with the version of pg_dump binary which you have used to take the backup
>
> Please let me know, How did you take the backup? and Please try with same
> version of pg_restore, which is of pg_dump.
>
> To find the version of pg_dump and pg_restore, you can use following
> command:
>
> pg_dump --version
> pg_restore --version.
>
> Thanks & Regards,
> Vibhor.
> On Apr 12, 2011, at 4:13 PM, Fredy Khan wrote:
>
> > Well please find attached here the error details
> >
> > On Mon, Apr 11, 2011 at 9:35 PM, Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com>
> wrote:
> >
> > On Apr 9, 2011, at 11:58 PM, Fredy Khan wrote:
> >
> > > Hello,
> > >
> > > I get an unsupported header version error when I try to restore my
> database backup in another version of postgres via pgadmin. I would
> appreciate some help in this matter.
> >
> > What;s error Message?
> >
> >
> > > regards,
> > >
> > > Fredy Khan
> >
> > Thanks & Regards,
> > Vibhor Kumar
> > vibhor(dot)aim(at)gmail(dot)com
> > Blog:http://vibhork.blogspot.com
> >
> >
> > <error.bmp>
>
> Thanks & Regards,
> Vibhor Kumar
> vibhor(dot)aim(at)gmail(dot)com
> Blog:http://vibhork.blogspot.com
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Eric Comeau 2011-04-14 10:36:13 Re: How to log canceled SQL statement due to statement timeout
Previous Message Simon Riggs 2011-04-13 20:04:33 Re: Warm Standby on 8.4.7