Re: [despammed]

From: Kretschmer Andreas <andreas_kretschmer(at)despammed(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [despammed]
Date: 2005-08-12 16:25:42
Message-ID: 20050812162542.GA1431@kaufbach.delug.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Adam O'Toole <adamnb1(at)hotmail(dot)com> schrieb:

> Hello.
> I have an instance of postgreSQL 7.4.7 with one database called dbmedia. We
> are moving to postgreSQL 8.1 running on windows2003 server. Can I just copy
> the entire $PGDATA directory to the new 8.1 instance of postgreSQL? Using

No! Don't try it, it is useless and dangerous.

Btw.: actual version is 8.0.3, not 8.1.

> PG_dump/restore?

Yes, and use the pg_dump from the 8.0 - Version to dump the old
database.

> I heard that I might run into problems because of the difference in PG
> versions and server architectures. If this wont work, what would be the
> best way to get my dbmedia database moved over to the 8.1 instance running

Under Linux/UNIX, from the new machine: (principle)

pg_dump -h <old_server> <options> | psql <options>

Andreas
--
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung. Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org) GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)

In response to

  • at 2005-08-12 16:08:06 from Adam O'Toole

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-08-12 16:28:37 Re: query optimization
Previous Message Richard Huxton 2005-08-12 16:22:05 Re:

Browse pgsql-novice by date

  From Date Subject
Next Message Adam O'Toole 2005-08-12 17:23:32 Re:
Previous Message Richard Huxton 2005-08-12 16:22:05 Re: