Re: Rsync over ssh with root privileges

2012-07-23 Thread Stayvoid
Kevin, > Since you are using sudo on the remote end have you configured it to > not require a password for that user to run rsync? No, I haven't. Could you tell me how to do it? And what about the syntax? Is it ok? -- Please use reply-all for most replies to avoid omitting the mailing list. To

Rsync over ssh with root privileges

2012-07-22 Thread Stayvoid
Hi, I'm trying to copy some files from a remote server. (That server uses passphrase to auth users.) Rsync should be able to copy files with root privileges. Here is my attempt: sudo rsync -avP --exclude 'proc' --exclude 'dev' --exclude 'tmp' --exclude 'sys' --exclude 'mnt' --rsync-path='sudo rs