From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | "Net Tree Inc(dot)" <nettreeinc(at)gmail(dot)com> |
Cc: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [GENERAL] Re: how do I do dump and restore without bugging with constraint? |
Date: | 2010-02-23 14:31:42 |
Message-ID: | 4B83E6CE.1060707@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
On 23/02/10 09:17, Net Tree Inc. wrote:
> Why am I keep getting error with version issues.... I am trying to restore a
> backup file from a 8.4 postgresql server to a 8.3 postgresql server.
Well, an 8.4 dump isn't always going to be compatible with an 8.3
server, is it? If there weren't differences, the version number wouldn't
have changed.
> [postgres(at)localhost ~]$ pg_restore -C -d postgres -i isamdb.backup
> pg_restore.bin: [archiver] unsupported version (1.11) in file header
Try using the 8.4 pg_restore (but keep the "-i" to tell it to ignore the
version checks). You may still see errors, but there is a good chance it
will work.
You're also restoring into the "postgres" database here - is that what
you meant to do?
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Net Tree Inc. | 2010-02-23 16:32:43 | Re: [GENERAL] Re: how do I do dump and restore without bugging with constraint? |
Previous Message | Iñigo Martinez Lasala | 2010-02-23 11:03:01 | Re: how do I do dump and restore without bugging with constraint? |
From | Date | Subject | |
---|---|---|---|
Next Message | A. Kretschmer | 2010-02-23 14:33:12 | Re: Subqueries or Joins? Problems with multiple table query |
Previous Message | Stefan Schwarzer | 2010-02-23 14:28:49 | Re: Subqueries or Joins? Problems with multiple table query |