re: rsyncing as root when root login is disabled?

2006-09-16 Thread Joe Ruby
Joe Ruby wrote: I'm trying to do a simple rsync: rsync -av admin at mydomain.com:/backup . But a number of files in /backup are readable only by root, and hence rsync gives these errors: sync: send_files failed to open /backup/etc/mail/virtusertable.db: Permission denied (13) Since

Re: rsyncing as root when root login is disabled?

2006-09-16 Thread Matt McCutchen
On 9/16/06, Joe Ruby [EMAIL PROTECTED] wrote: I tried again: $ rsync -av --progress --rsync-path='sudo /usr/bin/rsync' [EMAIL PROTECTED]:/backup/var var Password:12345 rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream