cygwin install cron rsync and exim ,to execute scheduled command backup files to remote rsyncd server and notifies log by mail

You know to install  application on cygwin,we must to run cygwin-setup.exe , then selected these applications (tools) we want and reinstall cygwin .

now we launch cygwin console to settting cron exim and edit a script to backup files to remote machine by rysnc command.


cygwin setting cron_schedule and list it

edit backup script file:


backup script of context like follow:

rsync -arv --password-file=/home/Administrator/rsyncd.secrets /cygdrive/d/ThunderBirdMail/Mail autobackup@

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.



在下方填入你的資料或按右方圖示以社群網站登入: 標誌

您的留言將使用 帳號。 登出 /  變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )


您的留言將使用 Facebook 帳號。 登出 /  變更 )


連結到 %s