Обсуждение: error

Поиск
Список
Период
Сортировка

error

От
Abhishek Ramkumar
Дата:
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

Re: error

От
Magnus Hagander
Дата:
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/