agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Peter Osterberg <ohb@dataphone.se>
To: postgres@postgres.Berkeley.EDU
Subject: Moving a database
Date: Tue, 7 Nov 1995 21:45:36 +0100 (MET)
Message-ID: <Pine.LNX.3.91.951107213620.9855B-100000@nina.dataphone.se> (raw)

I had previoulsy my postgres-deamon running on a Linux-box. I did set up 
the postgres deamon on a SS20 today and everything seems to work as it 
should. I can create new DB's and so on. The problem comes when I try to 
move my existing database to the SS20. I get PQExec errors when try to visit 
the _moved_ database with 'monitor'. I moved the database by simply 
copying all the old database files with ftp and cp. I understand that I 
can't do like that. I also tryied to create an empty database with 
createdb and the same name, and then ftp and cp the database-files. And 
that didn't work either.
I have the same version on both my machines, version 4.2.
Is there anyway in which I can move the database between my computers.

Regards Peter

__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__
|| At home:                   || DataPhone Sweden AB                    ||
|| Peter Österberg            || Peter Österberg                        ||
|| Ekstigen 6                 || Po.Box 209                             ||
|| 161 36  Bromma             || 161 65 Bromma                          ||
||                            || Tel.....: +46(0)8 - 704 17 00          ||
||                            || Fax.....: +46(0)8 - 704 91 00          ||
||                            || Cellular: +46(0)70 - 735 65 15         ||
||                            || Email...: ohb@dataphone.se             ||
||                            || URL.....: http://www.dataphone.se/~ohb ||
~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~-__-~~


============================================================================

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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: ohb@dataphone.se
  Subject: Re: Moving a database
  In-Reply-To: <Pine.LNX.3.91.951107213620.9855B-100000@nina.dataphone.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox