Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 0EF171337B83 for ; Thu, 14 Apr 2011 02:13:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 18703-06 for ; Thu, 14 Apr 2011 05:13:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id 719E4133798E for ; Thu, 14 Apr 2011 02:13:34 -0300 (ADT) Received: by pwi15 with SMTP id 15so480822pwi.19 for ; Wed, 13 Apr 2011 22:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=KZOFaDpJNDiCiCzSML1T8kNXM4Xtvohg7vU7TBHW6DI=; b=xNTLyhiyCqQjLiypwN1gaSBVUxuBX+ZLOAp+VdtH7viHTltW72zF47nEtt/NX+ceOe rlVltjFMu6pTlvsOgUf9YmPOfGw971bKU6Js5wYRdT5ky360bb93ifcfYSxT6H/KipHN NhDBnM7qt7r4NRrb8Rpn+mdE6BzCJUCh7qxSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=smdvh5nX0symV46V1wOz7YSgruVcAOCTwi0zUm9jntcxiWoK4boxzwWl+ouJ3r0Ipp blqJaF+84cFeduIle1U1hfZcHU4YM/FfN8hixdDc4RVPlyqnsPWlaz9YFgDoNpWFu6fP Vzk7x0kU58/Ydqm9gOWjR79QBj9RKa9e0oJ14= MIME-Version: 1.0 Received: by 10.68.15.167 with SMTP id y7mr214199pbc.227.1302758013829; Wed, 13 Apr 2011 22:13:33 -0700 (PDT) Received: by 10.68.59.231 with HTTP; Wed, 13 Apr 2011 22:13:33 -0700 (PDT) In-Reply-To: References: <7E557E71-F6BB-4B0A-A4BF-AD0CEA9DB9B0@gmail.com> Date: Thu, 14 Apr 2011 10:13:33 +0500 Message-ID: Subject: Re: unsupported header version error From: Fredy Khan To: Vibhor Kumar Cc: pgsql-admin@postgresql.org Content-Type: multipart/alternative; boundary=bcaec51dd0e1a482f804a0d9fc4e X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.584 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1.929, HTML_MESSAGE=0.001 X-Spam-Level: * X-Archive-Number: 201104/137 X-Sequence-Number: 37318 --bcaec51dd0e1a482f804a0d9fc4e Content-Type: text/plain; charset=ISO-8859-1 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 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 > 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 > > > > > > > > Thanks & Regards, > Vibhor Kumar > vibhor.aim@gmail.com > Blog:http://vibhork.blogspot.com > > --bcaec51dd0e1a482f804a0d9fc4e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you for your quick reply.

Well I am using windows XP and I hav= e PgAdmin III 1.12.2 installed. I used backup to take the backup of the dat= abase 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 i= nstalled with postgresql Version 9.0.3-1 =A0 with the same header ve= rsions i.e. pg_dump and pg_restore both header version are 9.0.3. On the ta= rget PC, I create a database, give it an owner, select templete 1 (as my or= ginal database template is template1) and then I restore my original databa= se from my original PC using the right click database restore option in pga= dminIII


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 compatib= le with the version of pg_dump binary which you have used to take the backu= p

Please let me know, How did you take the backup? and Please try with same v= ersion of pg_restore, which is of pg_dump.

To find the version of pg_dump and pg_restore, you can use following comman= d:

pg_dump --version
pg_restore --version.

Thanks & Regards,
Vibhor.
On Apr 12, 2011, at 4:13 PM, Fredy Khan w= rote:

> 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 m= y database backup in another version of =A0postgres via pgadmin. I would ap= preciate 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://vibho= rk.blogspot.com


--bcaec51dd0e1a482f804a0d9fc4e--