Re: pg_upgrade and rsync - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_upgrade and rsync
Date
Msg-id CA+TgmoahEE0G3s4=-Jg3CvFAEsgR0a9NAGuBk+rahcFcG3dsVA@mail.gmail.com
Whole thread Raw
In response to Re: pg_upgrade and rsync  (Stephen Frost <sfrost@snowman.net>)
Responses Re: pg_upgrade and rsync
List pgsql-hackers
On Tue, Jan 27, 2015 at 9:36 AM, Stephen Frost <sfrost@snowman.net> wrote:
> The example listed works, but only when it's a local rsync:
>
> rsync --archive --hard-links --size-only old_dir new_dir remote_dir
>
> Perhaps a better example (or additional one) would be with a remote
> rsync, including clarification of old and new dir, like so:
>
> (run in /var/lib/postgresql)
> rsync --archive --hard-links --size-only \
>   9.3/main \
>   9.4/main \
>   server:/var/lib/postgresql/
>
> Note that 9.3/main and 9.4/main are two source directories for rsync to
> copy over, while server:/var/lib/postgresql/ is a remote destination
> directory.  The above directories match a default Debian/Ubuntu install.

My point is that Bruce's patch suggests looking for "remote_dir" in
the rsync documentation, but no such term appears there.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Parallel Seq Scan
Next
From: Robert Haas
Date:
Subject: Re: pg_upgrade and rsync