pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edoardo Ceccarelli <eddy@axa.it>
To: pgsql-admin@postgresql.org
Subject: dump from 8.x restore to 7.3.x
Date: Wed, 29 Nov 2006 15:28:58 +0100
Message-ID: <456D992A.90903@axa.it> (raw)

Hi to all,

We have a pretty big database that is going for an upgrade (PG7 -> PG8) 
in the next few days, we have tested all the features of our application 
but we cannot be sure that everything will work out perfectly (db is 
managing several blob's only tables that have proven to be pretty hard 
to configure).
I am currently investigating a worst-case-scenario strategy that would 
be to downgrade the database from PG8 to 7 if anything goes wrong;00
this implies that we:
1) dump from a running PG8
2) remove PG8 and reinstall PG7
3) restore the dump into the running PG7

unfortunately pg_restore complains about the dump header and doesn't 
restore the db at all, having tried to dump with both -Ft and -Fc flags

shall I try the "--ignore-version" option in pg_restore?
is there going to be any problem in using this option? (corrupted data, 
tables, etc.)

Thanks, any help appreciated
Edoardo



view thread (10+ messages)  latest in thread

Message-ID: <456D992A.90903@axa.it>
Permalink:  ../456D992A.90903@axa.it/
Also on:    postgresql.org/message-id/456D992A.90903@axa.it

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: eddy@axa.it
  Subject: Re: dump from 8.x restore to 7.3.x
  In-Reply-To: <456D992A.90903@axa.it>
  References: <456D992A.90903@axa.it>

* 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