pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Serge Sozonoff <serges@infinet.ch>
To: pgsql-admin@postgresql.org
Subject: Database Restore
Date: Mon, 31 Jan 2000 18:57:44 +0100
Message-ID: <4.1.20000131184852.00a5c100@mail.infinet.ch> (raw)

Hello all,

I have the following scenario.

1 Linux server (Server A) running Postgres compiled with the standard
BLCKSZE of 8Kb

1 Linux server (Server B) running Postgres compiled with a 32kb BLCKSZE in
the include/config.h file.


A 90 Table database sitting on server A that needs to get to Server B.

I tried doing a pg_dump of the database on Server A and restoring it on
Server B by doing a "psql -e publiflex < db.backup" but
this always fails due to special characters in the dump so basically this
method of backup and
restore does not work for me (unless I am missing something ?)

Second I tried to copy all the binaries in the database dir on Server A to
Server B.
This does not seem to work either and I think it is because of the
BlockSize that is different on each server.

Does any one have any suggestions?


Thanks, Serge

!--------------------------------------!
! Serge Sozonoff               !
! http://www.skiphotos.ch  !
!--------------------------------------!



view thread (2+ messages)  latest in thread

Message-ID: <4.1.20000131184852.00a5c100@mail.infinet.ch>
Permalink:  ../4.1.20000131184852.00a5c100@mail.infinet.ch/
Also on:    postgresql.org/message-id/4.1.20000131184852.00a5c100@mail.infinet.ch

 · 

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: serges@infinet.ch
  Subject: Re: Database Restore
  In-Reply-To: <4.1.20000131184852.00a5c100@mail.infinet.ch>
  References: <4.1.20000131184852.00a5c100@mail.infinet.ch>

* 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