Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZWxAK-0006KN-Hr for pgsql-general@arkaria.postgresql.org; Wed, 02 Sep 2015 01:48:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZWxAJ-00089Q-MV for pgsql-general@arkaria.postgresql.org; Wed, 02 Sep 2015 01:48:43 +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) (envelope-from ) id 1ZWx85-0005Vw-Cq for pgsql-general@postgresql.org; Wed, 02 Sep 2015 01:46:25 +0000 Received: from squeakycode.net ([96.126.114.205]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZWx82-0000vn-TL for pgsql-general@postgresql.org; Wed, 02 Sep 2015 01:46:24 +0000 Received: from [192.168.1.102] (173-18-113-254.client.mchsi.com [173.18.113.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: andy) by squeakycode.net (Postfix) with ESMTPSA id DB94C22989; Tue, 1 Sep 2015 20:46:21 -0500 (CDT) Subject: Re: 9.5 beta pg_upgrade documentation To: Bruce Momjian References: <55D789B5.7040308@squeakycode.net> <55D9DC9E.8080806@squeakycode.net> <20150901210904.GA27334@momjian.us> <55E63B1B.80603@squeakycode.net> <20150902000043.GB27334@momjian.us> Cc: pgsql-general@postgresql.org From: Andy Colson Message-ID: <55E654EC.9020702@squeakycode.net> Date: Tue, 1 Sep 2015 20:46:20 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150902000043.GB27334@momjian.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 09/01/2015 07:00 PM, Bruce Momjian wrote: > On Tue, Sep 1, 2015 at 06:56:11PM -0500, Andy Colson wrote: >>> I also added a mention that rsync, not pg_upgrade, will be run on the >>> standbys. You can see all the results of the patch here: >>> >>> http://momjian.us/pgsql_docs/pgupgrade.html >>> >>> Thanks. >>> >> >> Sweet, I'm glad I stopped where I did. I think I'm safe to pick up at step f. Which seemed to work ok. But now we get to step g (run rsync). I checked the rsync manual and don't see anything like this three directory argument thing you are trying to run. Unless you want to use --link-dest. In which case I think the cmd would be like: >> >> rsync --archive --delete --hard-links --size-only --link-dest=old_pgdata new_pgdata remote_dir >> >> I'm gonna try this now, will report back. > > No, you are copying "old_pgdata and new_pgdata" to remote_dir. > Ohhh... I'll try again. (The method above (run from the standby) doesn't work well at all). -Andy -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general