pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Adam O'Toole <adamnb1@hotmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-novice@postgresql.org
Subject: Re:
Date: Fri, 12 Aug 2005 17:22:05 +0100
Message-ID: <42FCCCAD.5000308@archonet.com> (raw)
In-Reply-To: <BAY102-F32D74D4C815B779BC75649FBBC0@phx.gbl>
References: <BAY102-F32D74D4C815B779BC75649FBBC0@phx.gbl>

Adam O'Toole wrote:
> Hello.
> I have an instance of postgreSQL 7.4.7 with one database called dbmedia. 
> We are moving to postgreSQL 8.1 running on windows2003 server. Can I 
> just copy the entire $PGDATA directory to the new 8.1 instance of 
> postgreSQL?

No. And 8.1 isn't out yet.

 > Using PG_dump/restore?

Yes

> I heard that I might run into problems because of the difference in PG 
> versions and server architectures. If this wont work, what would be the 
> best way to get my dbmedia database moved over to the 8.1 instance 
> running on windows?

Test it first - there might be something different between 7.4 and 8.0 
that you're relying on. Read the release notes in 8.0 to find out what 
might affect you.

It's generally easier to dump/restore using a version 8 pg_dump - each 
version is a bit smarter, and can talk to older servers.

Oh - and make sure you're familiar with the Unicode issues on Windows.

--
   Richard Huxton
   Archonet Ltd



view thread (7+ messages)  latest in thread

Message-ID: <42FCCCAD.5000308@archonet.com>
Permalink:  ../42FCCCAD.5000308@archonet.com/
Also on:    postgresql.org/message-id/42FCCCAD.5000308@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 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-general@postgresql.org
  Cc: dev@archonet.com, adamnb1@hotmail.com, pgsql-novice@postgresql.org
  Subject: Re: 
  In-Reply-To: <42FCCCAD.5000308@archonet.com>
  References: <BAY102-F32D74D4C815B779BC75649FBBC0@phx.gbl> <42FCCCAD.5000308@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