I'm currently trying to figure out backing up using rsync - and I've run into a little hitch. I've disabled root access via SSH for security reasons, and have to use my special user account (without sudo permissions) whenever I SSH in to do admin bits. I then use "su -" to get full root access when I'm SSHd so that I can have full root access and can do all the special admin bits. I used to use the following for backing up from my local machine:
sudo rsync -rav root@MyServerIP:/ BackupFolder/
However with my new security measures in place (not being able to SSH with root), I cannot use this. And since my special user account doesn't have sudo permissions - I can't use him to rsync either.
How can I run the command I've written above, after a "su -" or some other trick to make it have the permissions to do this? (I can input the root password to get root access - however root cannot be logged in directly from SSH)