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

Re: Rsync over ssh with root privileges

2012-07-23 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The syntax is explained here: http://sanitarium.net/rsyncfaq/#sudo Even though I wrote that particular FAQ entry I have never actually tried it as I think it is a rather silly use of sudo. sudo rsync -avP --exclude 'proc' --exclude 'dev' --exclude

Re: Rsync over ssh with root privileges

2012-07-22 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Since you are using sudo on the remote end have you configured it to not require a password for that user to run rsync? I suspect that your use of the double -t on ssh that it isn't. Rsync over ssh is not going to be compatible with a sudo password