Re: error

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Abhishek Ramkumar <abhishek(dot)ramkumar90(at)gmail(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: error
Date: 2012-12-11 09:43:12
Message-ID: CABUevEwfJmLMid_GAeEoWCRGcmcy3aOh3NUV-h1HTpNHNGBBOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Dec 10, 2012 at 11:24 AM, Abhishek Ramkumar
<abhishek(dot)ramkumar90(at)gmail(dot)com> wrote:
> hello
> every time i try to restore a file to the database i get the following
> error
>
>
> C:/Program Files/PostgreSQL/8.4/bin\pg_restore.exe --host localhost --port
> 5432 --username postgres --dbname anchor --verbose "C:\Documents and
> Settings\parnitas\Desktop\anchor_07dec2012.backup"
> pg_restore: [archiver] unsupported version (1.12) in file header
> kindly advice how to resolve the above error

Your dump is generated with pg_dump version 9.0 or newer. You cannot
restore that with pg_restore version 8.4, you need to use at least the
same version as the one you created the dump with.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

  • error at 2012-12-10 10:24:07 from Abhishek Ramkumar

Browse pgsql-bugs by date

  From Date Subject
Next Message Guy Incognito 2012-12-11 10:28:09 Re: BUG #7738: Installer takes hours running icacls
Previous Message Magnus Hagander 2012-12-11 09:37:25 Re: BUG #7744: docs should link to postgresql_psycopg2