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: HOW-TO migrate database
Date: Tue, 17 Jul 2001 10:05:02 +0200
Message-ID: <9j0rkk$1ugo$1@news.tht.net> (raw)

Hello

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.

the same result is on pg_dump dbname > file and on second server pg_restore
file ...

How it is possible to copy all databases from one (6.5.2) to second (7.1.2)
server ?

Many thanks

Marian Sabo





view thread (4+ messages)  latest in thread

Message-ID: <9j0rkk$1ugo$1@news.tht.net>
Permalink:  ../9j0rkk$1ugo$1@news.tht.net/
Also on:    postgresql.org/message-id/9j0rkk$1ugo$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: <9j0rkk$1ugo$1@news.tht.net>
  References: <9j0rkk$1ugo$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