Re: Moving a data base between differnt OS

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>, Holger Zwingmann <holger(dot)zwingmann(at)p3-solutions(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Moving a data base between differnt OS
Date: 2006-04-27 00:16:32
Message-ID: 20060427001632.GS97354@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 26, 2006 at 03:24:19PM -0500, Bruno Wolff III wrote:
> On Wed, Apr 26, 2006 at 21:33:32 +0200,
> Holger Zwingmann <holger(dot)zwingmann(at)p3-solutions(dot)de> wrote:
> > Hi,
> >
> > I just realized that is is possible to do a (backup) copy of a database
> > by copying the "root folder" within the same OS.
>
> There are some other conditions as well. Postgres needs to be shut down when
> you do the copy. The CPU needs to be the same architecture. Postgres should
> be built with the same options (some data representations are controlled by
> config options). Potentially different compilers (used to build Postgres on
> the two systems) could cause problems as well (by changing structure layouts).

And make sure you test thoroughly... there are built-in checks to detect
any incompatabilities, but most people don't try stuff like this so
there could be cases that aren't covered.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stanislaw Tristan 2006-04-27 00:34:23 Installing PostgreSQL on Win 2003 R2 64-bit
Previous Message Jim C. Nasby 2006-04-27 00:15:23 Re: Clustered table order is not preserved on insert