Обсуждение: unsupported header version error
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.
regards,
Fredy Khan
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.
regards,
Fredy Khan
Fredy Khan <fredy18@gmail.com> writes: > 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. For starters... What does your $PGDATA/PG_VERSION file contain? 2. What does pg_ctl --version say? If those 2 bits suggest a match, then have you gone from 32-64 bit or crossing machine hw architectures? > regards, > > Fredy Khan > -- Jerry Sievers e: gsievers19@comcast.net p: 305.321.1144
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 viapgadmin. 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
Attached Error Message shows, that pgAdmin's pg_restore is not compatible with the version of pg_dump binary which you haveused 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 viapgadmin. 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
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
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.> <error.bmp>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
>
>