From: | Arindam <arindam(dot)mukerjee(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Data migration from version 7.2.1 to 8.1.5 |
Date: | 2007-02-08 16:06:38 |
Message-ID: | d85a51ff0702080806l63db6747n6b9ba19bfc22400d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2/8/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Arindam <arindam(dot)mukerjee(at)gmail(dot)com> writes:
> > I tried dumping data in tar format using the pg_dump utility (with
> > version 7.2.1) and restoring it using pg_restore utility (with version
> > 8.1.5). But on running this command:
>
> > pg_restore -d mydb -C -u <my_dump_file>
> > I get the following error:
> > pg_restore: [archiver] unsupported version (1.10) in file header
>
> It looks to me a whole lot like you got it backward, ie, used the 8.1
> pg_dump and then tried to restore with the 7.2 pg_restore.
>
> Now you *should* be using the newer pg_dump to dump from the old
> database --- that's considered good practice. But you need an
> up-to-date pg_restore to read its output.
Well this time I got it dumped using 8.1.5 and tried restoring it too
with 8.1.5 - however no difference in the result.
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-02-08 16:16:06 | Re: Data migration from version 7.2.1 to 8.1.5 |
Previous Message | Matt Miller | 2007-02-08 16:02:36 | Under Red Hat AS in a WIndows Virtual Machine |