crontab을 이용한 빽업을 하려합니다 근데 잘 안되네요
글쓴이: algo79 / 작성시간: 금, 2008/05/23 - 11:54오전
vi /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/user/sbin:user/bin:/backup:
MAILTO=root
HOME=/
00 02 * * 1 root /backup/cnmfile/sc/mon.sh
00 02 * * 3 root /backup/cnmfile/sc/wed.sh
00 02 * * 5 root /backup/cnmfile/sc/fri.sh
00 02 * * 1 root /backup/gate/sc/mon.sh
00 02 * * 3 root /backup/gate/sc/wed.sh
00 02 * * 5 root /backup/gate/sc/fri.sh
00 02 * * 1 root /backup/sap/sc/fri.sh
00 02 * * 3 root /backup/sap/sc/fri.sh
00 02 * * 5 root /backup/sap/sc/fri.sh
이렇게 설정했는데 보면 백업은 gate쪽만 돼있네요 나머지
cnmfile이랑 sap는 백업이 안되있습니다
cnmfile은 리눅스 gate 윈도우xp sap는 윈도우 2003입니다
요일별스크립은 rsync를 이용한 백업방법이구요 각자 저 스크립트들은 실행하면 백업이 잘됩니다
제가 안되는것은 저런식으로 crontab에 등제했을때 gate만 백업이 되고 나머지는 안된다는게 이해가 안되네요
해결방법이 없을까요?
Forums:


댓글 달기