Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 2104663F3DB; Tue, 23 Feb 2010 10:32:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 41948-03; Tue, 23 Feb 2010 14:32:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mail.postgresql.org (Postfix) with ESMTP id 024E563F43F; Tue, 23 Feb 2010 10:31:44 -0400 (AST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHJ1g0vUnw4T/2dsb2JhbACbC3O9EYRsBA Received: from pih-relay06.plus.net ([212.159.14.19]) by relay.ptn-ipout02.plus.net with ESMTP; 23 Feb 2010 14:31:42 +0000 Received: from [84.51.143.99] (helo=server3.office.archonet.com) by pih-relay06.plus.net with esmtp (Exim) id 1Njvna-0005NB-CC; Tue, 23 Feb 2010 14:31:42 +0000 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTPA id 050E62740CF; Tue, 23 Feb 2010 14:31:42 +0000 (GMT) Message-ID: <4B83E6CE.1060707@archonet.com> Date: Tue, 23 Feb 2010 14:31:42 +0000 From: Richard Huxton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100213 Lightning/1.0b1 Shredder/3.0.2pre MIME-Version: 1.0 To: "Net Tree Inc." CC: Kevin Grittner , pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Re: [GENERAL] Re: how do I do dump and restore without bugging with constraint? References: <4B830D12020000250002F4C1@gw.wicourts.gov> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Plusnet-Relay: 0936f370a185be3165b2b7e5b0dfc042 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.318 tagged_above=-10 required=5 tests=AWL=-0.578, BAYES_20=-0.74 X-Spam-Level: X-Archive-Number: 201002/179 X-Sequence-Number: 33782 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@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