now we launch cygwin console to settting cron exim and edit a script to backup files to remote machine by rysnc command.
edit backup script file:
backup script of context like follow:
#!/bin/bash rsync -arv --password-file=/home/Administrator/rsyncd.secrets /cygdrive/d/ThunderBirdMail/Mail email@example.com::backup_jerry/Mail
rsync’s password-file been save on /home/Administrator/rsyncd.secrets .
And remember to change permission to 600 for this file. The password-file of context just only one line string that password of rsync’s user.