pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SUVRANSHU KAR <suvranshu_k@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Marian Sabo <sabo@cps.sk>
Cc: pgsql-admin@postgresql.org
Subject: Re: HOW-TO migrate database
Date: Tue, 17 Jul 2001 20:10:16 -0700 (PDT)
Message-ID: <20010718031016.45754.qmail@web13902.mail.yahoo.com> (raw)
In-Reply-To: <25373.995388342@sss.pgh.pa.us>

Hi All,

Actually we also faced some in migration from Postgres
6.5.2 to 7.0- both upon Red Hat Linux, and 7.0 to
7.1.2 ( on NT WS using Cygwin) using pgdump.

In the Ist case, Tables and Index were no problem, but
data didnot come up. So we seperately edited the data
part from dump file and executed it through
pgsql.Tables and Index were no problem, but data
didnot come up. But 7.1.2 couldnot reconnize the data
format easily. So we wrote a front end program in
delphi to migrate.

Bye now.

KAR

For the 2nd case, 
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "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


=====
From SKAR. suvranshu_k@yahoo.com
Good Day!

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



view thread (4+ messages)  latest in thread

Message-ID: <20010718031016.45754.qmail@web13902.mail.yahoo.com>
Permalink:  ../20010718031016.45754.qmail@web13902.mail.yahoo.com/
Also on:    postgresql.org/message-id/20010718031016.45754.qmail@web13902.mail.yahoo.com

 · 

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: suvranshu_k@yahoo.com, tgl@sss.pgh.pa.us, sabo@cps.sk
  Subject: Re: HOW-TO migrate database
  In-Reply-To: <20010718031016.45754.qmail@web13902.mail.yahoo.com>
  References: <25373.995388342@sss.pgh.pa.us> <20010718031016.45754.qmail@web13902.mail.yahoo.com>

* 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