Safe method to run Rsync command to backup my server on another one?
Hi all, I'm trying to sync/backup my data from my main server to a backup server,
The tutorials/command I watch on the internet required mostly root remote login
I can create new user and add it to Nginx group, but I don't like the idea that user to have shell login,
from what I understand, Rsync uses sort kind of shell secure login, so I guess I can't use nginx user to login into the server and backup my files from it.
I as what safest way to back up my main server files remotely without the risk of exposing it root user credential on the backup server?