From: Andy Colson <andy@squeakycode.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-general@postgresql.org
Subject: Re: 9.5 beta pg_upgrade documentation
Date: Tue, 1 Sep 2015 20:46:20 -0500
Message-ID: <55E654EC.9020702@squeakycode.net> (raw)
In-Reply-To: <20150902000043.GB27334@momjian.us>
References: <55D789B5.7040308@squeakycode.net>
<55D9DC9E.8080806@squeakycode.net>
<20150901210904.GA27334@momjian.us>
<55E63B1B.80603@squeakycode.net>
<20150902000043.GB27334@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
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
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 using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: andy@squeakycode.net, bruce@momjian.us
Subject: Re: 9.5 beta pg_upgrade documentation
In-Reply-To: <55E654EC.9020702@squeakycode.net>
* 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