pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fredy Khan <fredy18@gmail.com>
To: Vibhor Kumar <vibhor.aim@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: unsupported header version error
Date: Thu, 14 Apr 2011 10:13:33 +0500
Message-ID: <BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com> (raw)
In-Reply-To: <DC49C1A2-3A67-429E-8ACE-59EF9EA3BC47@gmail.com>
References: <BANLkTim2tDWNcZesu9OAs5y25NsZJpRb-A@mail.gmail.com>
	<7E557E71-F6BB-4B0A-A4BF-AD0CEA9DB9B0@gmail.com>
	<BANLkTimY6zkJO_jzNAUm_SwrBcr4NgSa4w@mail.gmail.com>
	<DC49C1A2-3A67-429E-8ACE-59EF9EA3BC47@gmail.com>

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.aim@gmail.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.aim@gmail.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.aim@gmail.com
> > Blog:http://vibhork.blogspot.com
> >
> >
> > <error.bmp>
>
> Thanks & Regards,
> Vibhor Kumar
> vibhor.aim@gmail.com
> Blog:http://vibhork.blogspot.com
>
>

view thread (5+ messages)

Message-ID: <BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com>
Permalink:  ../BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: fredy18@gmail.com, vibhor.aim@gmail.com
  Subject: Re: unsupported header version error
  In-Reply-To: <BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com>
  References: <BANLkTim2tDWNcZesu9OAs5y25NsZJpRb-A@mail.gmail.com> <7E557E71-F6BB-4B0A-A4BF-AD0CEA9DB9B0@gmail.com> <BANLkTimY6zkJO_jzNAUm_SwrBcr4NgSa4w@mail.gmail.com> <DC49C1A2-3A67-429E-8ACE-59EF9EA3BC47@gmail.com> <BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox