I.e. we can implement that with a --rsync-tmpdir option, which instead of rsyncing to the final location would first copy files to the specified temporary directory, and then streaming/copying to the final location after unlocking the server. The requirement in that blueprint is to make rsync usable for streaming backups, but it sounds like it may be useful in your case with just a minor tweak to specification.
Yves,
I wonder if the same could be achieved with this blueprint: https:/ /blueprints. launchpad. net/percona- xtrabackup/ +spec/rsync- with-stream- option
I.e. we can implement that with a --rsync-tmpdir option, which instead of rsyncing to the final location would first copy files to the specified temporary directory, and then streaming/copying to the final location after unlocking the server. The requirement in that blueprint is to make rsync usable for streaming backups, but it sounds like it may be useful in your case with just a minor tweak to specification.
What do you think?