Skip site navigation (1) Skip section navigation (2)

Re: moving a database.

From: Frank Bax <fbax(at)sympatico(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: moving a database.
Date: 2008-01-10 16:56:29
Message-ID: 47864E3D.1040308@sympatico.ca (view raw or flat)
Thread:
Lists: pgsql-novice
LWATCDR wrote:
> I have an old postgres 7.1 data base that I must migrate to a new
> server running 8.2.6.
> The problem is everything I have tried has failed. The database has
> blobs in it but other than that it is pretty simple.
> So my question is what command line should I use to try and migrate
> this old database to the new server?
> I set up the old one years ago and it frankly has just worked but I
> have to move it to a new machine and I am way out of practice.
> So what command line should I use on the new server to try and copy
> the database from the old server?


Just use your backup/restore procedure (you do have one, right? and you 
test it regularly, right?); backup on 7.1; restore on 8.2.

If it doesn't work; post your commands and an error message.

In response to

Responses

pgsql-novice by date

Next:From: Adam ŠindelářDate: 2008-01-10 20:16:10
Subject: question: n:m association between three tables
Previous:From: Tom LaneDate: 2008-01-10 16:44:30
Subject: Re: moving a database.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group