Fork me on GitHub

This is an old revision of the document!


Backup as Root

sudo approach

Q : How do I enable a full backup of the remote server without allowing root top log in to ssh? Can I somehow get rsync to login as a normal user and then do some kind of “sudo” command?

A : –rsync-path=“sudo rsync”

Source : rsync mailing list : Subject : Re: Using rsync to backup remote server as root Date : 27 August 2009 4:30:55 PM Poster : Nathan