pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kretschmer Andreas <andreas_kretschmer@despammed.com>
To: pgsql-novice@postgresql.org
Subject: Re: [despammed]
Date: Fri, 12 Aug 2005 18:25:42 +0200
Message-ID: <20050812162542.GA1431@kaufbach.delug.de> (raw)
In-Reply-To: <BAY102-F32D74D4C815B779BC75649FBBC0@phx.gbl>
References: <BAY102-F32D74D4C815B779BC75649FBBC0@phx.gbl>

Adam O'Toole <adamnb1@hotmail.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° ;-)



view thread (7+ messages)  latest in thread

Message-ID: <20050812162542.GA1431@kaufbach.delug.de>
Permalink:  ../20050812162542.GA1431@kaufbach.delug.de/
Also on:    postgresql.org/message-id/20050812162542.GA1431@kaufbach.delug.de

 · 

reply

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-general@postgresql.org
  Cc: andreas_kretschmer@despammed.com, pgsql-novice@postgresql.org
  Subject: Re: [despammed]
  In-Reply-To: <20050812162542.GA1431@kaufbach.delug.de>
  References: <BAY102-F32D74D4C815B779BC75649FBBC0@phx.gbl> <20050812162542.GA1431@kaufbach.delug.de>

* 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