From: Richard Huxton <dev@archonet.com>
To: Envbop <rajib@envbopdotgovtdot.nz>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Newbie - Pointers on moving.
Date: Mon, 28 Feb 2005 18:08:59 +0000
Message-ID: <42235E3B.60808@archonet.com> (raw)
In-Reply-To: <cvjo24$2oaf$1@news.hub.org>
References: <cvjo24$2oaf$1@news.hub.org>
Envbop wrote:
> I have to move a pgsql database which is running on a linux box to a Windows
> 2003 server, so just started to find out about pgsql
> Not sure what version of pgsql is running on the linux box. This a library
> application written in php?.
> Any recommendations on how to do this migration/upgrade ?
Run the new (v8.0) pg_dump on the Windows box and use it to dump the
database on the linux box (with the -h host parameter). The latest
version will probably be smarter than older versions of pg_dump.
Then use pg_restore to restore the data. If your linux database is only
a couple of years old there shouldn't be any problems. If you do have
problems, try restoring the schema then the data - that way it's easier
to identify where the problems are.
Details on the various options for these tools are in the "client
applications" section of the manuals.
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, rajib@envbopdotgovtdot.nz, pgsql-general@postgresql.org
Subject: Re: [GENERAL] Newbie - Pointers on moving.
In-Reply-To: <42235E3B.60808@archonet.com>
References: <cvjo24$2oaf$1@news.hub.org> <42235E3B.60808@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