pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marian Sabo <sabo@cps.sk>
To: pgsql-admin@postgresql.org
Subject: Re: HOW-TO migrate database
Date: Thu, 19 Jul 2001 08:05:04 +0200
Message-ID: <9j5tbh$301n$1@news.tht.net> (raw)
References: <25373.995388342@sss.pgh.pa.us>

Hello

I use the "-d" switch and data format is correctly exported from database.
There's no problem to import table schemes and data to new 7.1.2

Marian Sabo

"Tom Lane" <tgl@sss.pgh.pa.us> wrote in message
news:25373.995388342@sss.pgh.pa.us...
> "Marian Sabo" <sabo@cps.sk> writes:
> > I have a many databases on server "one" in postgres-6.5.2
> > How can I copy my databases to a new server with new postgres vsersion
> > (7.1.2) ?
> > on first server I run : pg_dumpall -o > outputfile, but on new server
> > pg_restore don't understand the data format.
>
> pg_dumpall is the right approach, though I would not recommend using -o.
>
> Possibly you will need to do a little bit of editing to cope with
> changes from 6.5 to 7.1, although it surprises me to hear it.  What
> problems are you seeing, exactly, when you try to load the dump script?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster





view thread (4+ messages)

Message-ID: <9j5tbh$301n$1@news.tht.net>
Permalink:  ../9j5tbh$301n$1@news.tht.net/
Also on:    postgresql.org/message-id/9j5tbh$301n$1@news.tht.net

 · 

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-admin@postgresql.org
  Cc: sabo@cps.sk
  Subject: Re: HOW-TO migrate database
  In-Reply-To: <9j5tbh$301n$1@news.tht.net>
  References: <25373.995388342@sss.pgh.pa.us> <9j5tbh$301n$1@news.tht.net>

* 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