Fork me on GitHub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:backup_as_root_without_root_login [2009/08/28 00:28]
henri created
developer:backup_as_root_without_root_login [2009/08/28 00:28]
henri
Line 2: Line 2:
  
 ===== sudo approach ===== ===== 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? 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?
Line 7: Line 8:
 A : --rsync-path="​sudo rsync" A : --rsync-path="​sudo rsync"
  
-Source : rsync mailing list :  +Source : rsync mailing list : \\ 
-Subject : Re: Using rsync to backup remote server as root +Subject : Re: Using rsync to backup remote server as root \\ 
-Date : 27 August 2009 4:30:55 PM +Date : 27 August 2009 4:30:55 PM \\  
-Poster : Nathan+Poster : Nathan\\