X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B50ED53052; Fri, 12 Aug 2005 13:25:27 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90334-04; Fri, 12 Aug 2005 16:25:26 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 0A4125305E; Fri, 12 Aug 2005 13:25:24 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 9571D40C20A; Fri, 12 Aug 2005 17:25:10 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 1791015EDA; Fri, 12 Aug 2005 17:22:11 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20195-01; Fri, 12 Aug 2005 17:22:06 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id CF15815ED9; Fri, 12 Aug 2005 17:22:05 +0100 (BST) Message-ID: <42FCCCAD.5000308@archonet.com> Date: Fri, 12 Aug 2005 17:22:05 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam O'Toole Cc: pgsql-general@postgresql.org, pgsql-novice@postgresql.org Subject: Re: References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.057 tagged_above=0 required=5 tests=[AWL=0.007, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/665 X-Sequence-Number: 82073 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