pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Net Tree Inc. <nettreeinc@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Re: how do I do dump and restore without bugging with 	constraint?
Date: Tue, 23 Feb 2010 14:31:42 +0000
Message-ID: <4B83E6CE.1060707@archonet.com> (raw)
In-Reply-To: <bd9689741002230117k7dd7250r31dcfc6a556db44d@mail.gmail.com>
References: <4B830D12020000250002F4C1@gw.wicourts.gov>
	<bd9689741002230117k7dd7250r31dcfc6a556db44d@mail.gmail.com>

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



view thread (17+ messages)  latest in thread

Message-ID: <4B83E6CE.1060707@archonet.com>
Permalink:  ../4B83E6CE.1060707@archonet.com/
Also on:    postgresql.org/message-id/4B83E6CE.1060707@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dev@archonet.com, nettreeinc@gmail.com, Kevin.Grittner@wicourts.gov, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Re: how do I do dump and restore without bugging with 	constraint?
  In-Reply-To: <4B83E6CE.1060707@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox