Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eE5mK-0006NF-6H for pgsql-general@arkaria.postgresql.org; Mon, 13 Nov 2017 03:51:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eE5mJ-00045n-Ox for pgsql-general@arkaria.postgresql.org; Mon, 13 Nov 2017 03:51:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eE5jl-0006tK-Jh for pgsql-general@postgresql.org; Mon, 13 Nov 2017 03:48:41 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eE5ji-00029d-O1 for pgsql-general@postgresql.org; Mon, 13 Nov 2017 03:48:40 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id vAD3mWN08641 for ; Sun, 12 Nov 2017 19:48:32 -0800 Subject: Re: Migrating plattaform To: pgsql-general@postgresql.org References: From: John R Pierce Message-ID: <7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.com> Date: Sun, 12 Nov 2017 19:48:27 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 11/8/2017 11:38 AM, Valdir Kageyama wrote: > > I need migrated the postgres from Linux on IBM Power to Oracle Linux > on SPARC. > > My doubt is possible copy the datafiles to new enviorement ? or I need > usingĀ  other means of copying the data. > For exemples: pg_dump/pg_restore. > pretty sure you can't copy binary database files between architectures, as various data structures have different binary representations. sure, pg_dumpĀ  -Fc | pg_restore, that works fine across architectures. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general