hello. i have setup rsync and it now connect to master server without password, but when run a sync command: rsync -avz --delete --exclude=**/stats --exclude=**/error --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key" [email protected]:/var/www/ /var/www/ have this permission error: rsync: opendir "/var/www/web7/user/web7_admin/.spamassassin" failed: Permission denied (13) rsync: opendir "/var/www/web7/user/web7_admin/Maildir" failed: Permission denied (13) rsync: opendir "/var/www/web7/user/web7_you/Maildir" failed: Permission denied (13) rsync: opendir "/var/www/web7/user/web7_pippo/Maildir" failed: Permission denied (13) rsync: opendir "/var/www/web7/user/web7_marcus/Maildir" failed: Permission denied (13) rsync: opendir "/var/www/web8/.spamassassin" failed: Permission denied (13) rsync: opendir "/var/www/web8/user/web8_info/Maildir" failed: Permission denied (13) mmmmmmmmmmmm
I strictly followed the tutorial "Mirror Your Web Site With rsync". So when i get to point "6 Test rsync On mirror.example.com", as root, a issued the command, i get several lines like This,
drwxr-xr-x 190 root root 4096 2009-08-01 12:25 .. -rw-r--r-- 1 ligiamabutana ligiamabutana 220 2009-03-05 13:08 .bash_logout -rw-r--r-- 1 ligiamabutana ligiamabutana 414 2009-03-05 13:08 .bash_profile -rw-r--r-- 1 ligiamabutana ligiamabutana 2227 2009-03-05 13:08 .bashrc drwx------ 9 ligiamabutana ligiamabutana 4096 2009-03-20 11:21 Maildir I've Maildir's always generated with such permissions. Is there a way to copy it?
You can try it with imapsync: http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync