> So, is all of this just a built-in analog for rsync with params?
Yes, but built for a place where rsync isn't an option.
My target is Kubernetes, specifically CloudNativePG. Pods have no ssh
between them, and no rsync binary. It's not that I avoid rsync, it
just isn't there.
On safety: --size-only trusts file size alone. My tool checks the old
replica's control data against the exact old primary checkpoint first,
then trusts only the blocks the new primary's WAL summarizer reports
unchanged since. Same size can still mean different content.
Marco Nenciarini
EnterpriseDB