rsync自动同步脚本
#!/bin/sh
bak_path="/var/atlassian/application-data/confluence/backups"
rsync root@10.110.1.111:$bak_path/ /backup/backup/technet -avzu
配合crontab命令使用
* * * * * sh /root/sh/backup.sh
定时邮件提醒:http://blog.csdn.net/liuruiqun/article/details/51784001
posted on 2017-06-26 08:59 chen765831977 阅读(612) 评论(0) 编辑 收藏 举报