PostgreSQL upgrade server A -> server B

From: "CAJ CAJ" <pguser(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PostgreSQL upgrade server A -> server B
Date: 2007-04-27 01:09:30
Message-ID: 467669b30704261809xb037cfckaffeb960b7cbebfd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Forgive me if this has been discussed before (or if it sounds absurd)

Upgrading large postgres databases (100GB+) takes awfully long time when
doing dump/restore. I was wondering if this process can be optimized by
directly dumping to a new version of Pg database directly on another server
without having to dump to the filesystem and then restore it.

pg_dump on new server might look something like,
pg_dump <options> -h <old server> -h <new_server> dbname

or can it be used as-is by piping it?

pg_dump <options> -h <old server> dbname | pg_restore

Thanks!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2007-04-27 01:20:41 Re: PostgreSQL upgrade server A -> server B
Previous Message Kenneth Downs 2007-04-27 00:47:46 Re: plperl functions not re-entrant?