Re: pg_upgrade + replica servers + rsync --size-only is unsafe

From: Rob Emery <re-pgsql(at)codeweavers(dot)net>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_upgrade + replica servers + rsync --size-only is unsafe
Date: 2020-12-03 13:50:44
Message-ID: CAPCETptRJQFfroLjVCgt_9wEfKG0uZ7XGG8hpC12CV5bT_wz_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Aha!

That is exactly the problem; we were rsyncing over the top of an init'd db
and then using the rsync without the --size-only is cleaning up our mistake.

Thanks for the help.
-Rob

--

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Yambu 2020-12-03 14:00:47 Moving database to another tablespace
Previous Message Stephen Frost 2020-12-03 13:14:16 Re: pg_upgrade + replica servers + rsync --size-only is unsafe