X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0F0595377B for ; Sun, 10 Apr 2005 11:16:30 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60575-04 for ; Sun, 10 Apr 2005 10:16:21 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7427253753 for ; Sun, 10 Apr 2005 11:16:21 +0100 (BST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id j3AAGKRC062289 for ; Sun, 10 Apr 2005 10:16:20 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id j3A9lH1L055859 for pgsql-admin@postgresql.org; Sun, 10 Apr 2005 09:47:17 GMT (envelope-from news) From: William Yu X-Newsgroups: pgsql.admin Subject: Re: can be database files be copied using 'cp' between hosts with Date: Sun, 10 Apr 2005 02:47:20 -0700 Organization: Hub.Org Networking Services Lines: 22 Message-ID: <4258F628.10404@talisys.com> References: <20050409170306.GA3576@h> <200504092042.19647.peter_e@gmx.net> <20050409192333.GA6465@h> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Vlad Harchev User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en In-Reply-To: <20050409192333.GA6465@h> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200504/114 X-Sequence-Number: 17127 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! >