Search Postgresql Archives

Re: trying to migrate to a new server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Siebert <david@xxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux