I have a server that has multiple services running under multiple users that each store data. I want to be able to bundle all this data up and send it to another server for backups.
At a high level, how do I manage permissions for this? Currently I run the backup as root, then chown it to a special backups user which can log in through ssh. But this all feels clunky to me.