error

Started by Abhishek Ramkumarover 13 years ago2 messagesbugs
Jump to latest
#1Abhishek Ramkumar
abhishek.ramkumar90@gmail.com

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

regards
abhishek ramkumar

#2Magnus Hagander
magnus@hagander.net
In reply to: Abhishek Ramkumar (#1)
Re: error

On Mon, Dec 10, 2012 at 11:24 AM, Abhishek Ramkumar
<abhishek.ramkumar90@gmail.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/

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs