From: Bruno Wolff III <bruno@wolff.to>
To: denis moeller <nimbus@latrina.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrading 7.3 -> 7.4.5
Date: Tue, 22 Feb 2005 11:55:28 -0600
Message-ID: <20050222175528.GA3507@wolff.to> (raw)
In-Reply-To: <421B6D96.80900@latrina.de>
References: <421B6D96.80900@latrina.de>
On Tue, Feb 22, 2005 at 18:36:22 +0100,
denis moeller <nimbus@latrina.de> wrote:
>
> situation: old server backup. Backup of Postgresql data files. Postgres
> 7.3.x was running.
You can't take file system level backups under a running postmaster and expect
to use those to recover a database. You either need to shut the postmaster
down or use pg_dump(all) to make a live dump.
> New server has version 7.4.5 - how do I get the old data in my new database?
> Copying didn't work - complains about different versions.
When switching between major versions (such as 7.3.x to 7.4.x) you need to
do a dump and restore. If possible you should use the pg_dump client of
the newer version to do the dump, as newer versions do a better job of
handling dependencies in dumps.
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: bruno@wolff.to, nimbus@latrina.de
Subject: Re: Upgrading 7.3 -> 7.4.5
In-Reply-To: <20050222175528.GA3507@wolff.to>
References: <421B6D96.80900@latrina.de> <20050222175528.GA3507@wolff.to>
* 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