pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Database Restore
2+ messages / 1 participants
[nested] [flat]

* Database Restore
@ 2000-01-31 17:57  Serge Sozonoff <serges@infinet.ch>
  0 siblings, 0 replies; 2+ messages in thread

From: Serge Sozonoff @ 2000-01-31 17:57 UTC (permalink / raw)
  To: pgsql-admin

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  !
!--------------------------------------!



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Database Restore
@ 2000-01-31 19:38  Serge Sozonoff <serges@infinet.ch>
  0 siblings, 0 replies; 2+ messages in thread

From: Serge Sozonoff @ 2000-01-31 19:38 UTC (permalink / raw)
  To: pgsql-admin

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  !
!--------------------------------------!



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-01-31 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-01-31 17:57 Database Restore Serge Sozonoff <serges@infinet.ch>
2000-01-31 19:38 Database Restore Serge Sozonoff <serges@infinet.ch>

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