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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx
> Blog:http://vibhork.blogspot.com
>
>