To detect renames, moves of files. It can work only on local dirs :(. As workaround remote backup dir can be mounted.
https://github.com/m-manu/rsync-sidekick
sudo apt install golang go install github.com/m-manu/rsync-sidekick@latest