pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Yu <wyu@talisys.com>
To: Vlad Harchev <hvv@hippo.ru>
Subject: Re: can be database files be copied using 'cp' between hosts with
Date: Sun, 10 Apr 2005 02:47:20 -0700
Message-ID: <4258F628.10404@talisys.com> (raw)
In-Reply-To: <20050409192333.GA6465@h>
References: <20050409170306.GA3576@h>
	<200504092042.19647.peter_e@gmx.net>
	<20050409192333.GA6465@h>

I've been able to do Solaris x86 -> Linux x86 copies. But I'm pretty 
sure Sparc & x86 are not compatible endian-wise so hence the data is not 
stored the same. Other attempts that have failed -- Linux x86 32bit --> 
Linux x86_64.


Vlad Harchev wrote:
> On Sat, Apr 09, 2005 at 08:42:19PM +0200, Peter Eisentraut wrote:
> 
>>Vlad Harchev wrote:
>>
>>>I have a quesion - suppose I have sparc box and x86 box running same
>>>release of postgresql compiled with same options. Can I simply copy
>>>database directory between hosts (of course when postgresql server is
>>>stopped on both boxes)?
>>
>>Absolutely not.
> 
> 
> That's a pity..
> Thanks for your answer!
> 



view thread (4+ messages)

Message-ID: <4258F628.10404@talisys.com>
Permalink:  ../4258F628.10404@talisys.com/
Also on:    postgresql.org/message-id/4258F628.10404@talisys.com

 · 

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: wyu@talisys.com, hvv@hippo.ru
  Subject: Re: can be database files be copied using 'cp' between hosts with
  In-Reply-To: <4258F628.10404@talisys.com>
  References: <20050409170306.GA3576@h> <200504092042.19647.peter_e@gmx.net> <20050409192333.GA6465@h> <4258F628.10404@talisys.com>

* 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