Add rsync_args config and add --chmod==rw+X,g+s to it
Use 'sudo -u postgres' and remove the --no-owner
Add the sticky bits, no write access for everybody
Don't copy mods, that many times wrong
Code style
Remove unneeded file