Re: trying to migrate to a new server.

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: david(at)eclipsecat(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: trying to migrate to a new server.
Date: 2007-09-24 22:19:51
Message-ID: 87ve9zemew.fsf@suzuka.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Siebert <david(at)aretoo(dot)com> writes:

> I have a very old postgres server that I am trying to move the data off
> of. It is running 7.1 and has been trouble free for 6 plus years.
> I am trying to move the data base off to a server running 8.1.
> I have managed to back up the data using PG_Dump using like this.
> " pg_dump -b -Fc -h stan.someplace.com -u phone >phone.data"

Use the 8.1 pg_dump to connect to the 7.1 database and generate a
backup. Then the 8.1 pg_restore should be able to restore (new
versions of restore don't always understand old dump formats).

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2007-09-24 23:01:30 Re: set returning functions.
Previous Message Pavel Stehule 2007-09-24 22:09:38 Re: set returning functions.