59.125.229.2:greencom
webroot:/gcroot/www/html (& rsync 3:/gcroot/www/html)
mysql:none
etc:/gcbak/etc-3 & cronmail:/gcbak/var-3
---------------------------
59.125.229.3:ali3
webroot:/var/www/html (& rsync 2:/var/www/html)
webroot:/cyroot/www/html (& rsync 2:/cyroot/www/html)
mysql:/gcbak/3mysql (& backup 2:/gcbak/2mysql)
etc:/gcbak/etc-2 & cronmail:/gcbak/var-2
------------------------------------------------------------------------------------------------
59.125.229.6:dns
webroot:/var/www/html (& rsync 8:/var/www/html)
mysql:/gcbak/6mysql (& backup 8:/gcbak/8mysql)
etc:/gcbak/etc-8 & cronmail:/gcbak/var-8
------------------------------------
59.125.229.8:koonatea
webroot:/cntroot/www/html (& rsync 6:/cntroot/www/html)
mysql:/gcbak/8mysql (& backup 6:/gcbak/8mysql)
etc:/gcbak/etc-6 & cronmail:/gcbak/var-6
-------------------------------------------------------------
6:/cnbak6 for all server backup
-------------------------------------------------------------------------------------------------------------
59.125.229.2 crontab -e
[root@greencom ~]# crontab -e2 1 * * 1 /usr/bin/rdate -s time.nist.gov | logger -t NTP
2 1 * * 1 /usr/bin/rdate -s time.nist.gov | logger -t NTP
15 1 1 * * /etc/webmin/backup-config/backup.pl 14996409002640
0 2 * * 5 sh /root/2rsync-3-cyrootwww.sh > /dev/null
10 2 * * 6 sh /root/2rsync-3-varwww.sh > /dev/null
20 2 * * 7 sh /root/2rsync-3-7-web5.sh > /dev/null
30 2 * * 2,4,6 sh /root/2rsync-3-gcbak3.sh > /dev/null
40 2 * * 7 sh /root/2rsync-3-etc-to-gcbak.sh > /dev/null
50 2 1,11,21 * * sh /root/2rsync-3-cronmail.sh > /dev/null
59.125.229.3 crontab -e
[root@ali3 ~]# crontab -e3 1 * * 1 /usr/bin/rdate -s time.nist.gov | logger -t NTP3 1 * * 1 /usr/bin/rdate -s time.nist.gov | logger -t NTP
25 1 1 * * /etc/webmin/backup-config/backup.pl 14996769124576
10 3 * * 6 sh /root/3mysqldump-myisam-to-gcbak3-weekly.sh > /dev/null
20 3 * * 6 sh /root/3rsync-2-gcrootwww.sh > /dev/null
30 3 * * 6 sh /root/3rsync-2-etc-to-gcbak.sh > /dev/null
45 3 1,11,21 * * sh /root/3rsync-2-cronmail.sh > /dev/null
sh /root/3mysqldump-myisam-to-gcbak3-weekly.sh
#!/bin/sh
# Shell Script filename:backup3-myisam_database.sh
cd /var/lib/mysql
# mysqldump --user=root -p --all-databases > /backup/mysql.sql
mysqldump -pd2rd0n3an myisam_cychtorgtw | gzip > /gcbak/gcbak3/3mysql/myisam_cychtorgtw.`date +%Y-%m-%d`.sql.gz
mysqldump -pd2rd0n3an myisam_gt_hanwein | gzip > /gcbak/gcbak3/3mysql/myisam_gt_hanwein.`date +%Y-%m-%d`.sql.gz
mysqldump -pd2rd0n3an myisam_smgh_com_tw | gzip > /gcbak/gcbak3/3mysql/myisam_smgh_com_tw.`date +%Y-%m-%d`.sql.gz
59.125.229.6 crontab -e
[root@dns ~]# crontab -e6 1 * * 1 /usr/bin/rdate -s time.nist.gov | logger -t NTP
35 1 1 * 6 /etc/webmin/backup-config/backup.pl 149976919728068
10 4 * * 6 sh /root/6rsync-8-cntrootwww.sh > /dev/null
20 4 * * * sh /root/6backup69-md_daily.sh > /dev/null
30 4 * * 6 sh /root/6backup69-md_all.sh > /dev/null
40 4 * * 6 sh /root/6rsync-8-etc-to-gcbak.sh > /dev/null
55 4 1,11,21 * * sh /root/6rsync-8-cronmail.sh > /dev/null
59.125.229.8 crontab -e
[root@koonatea 8mysql]# crontab -e
8 1 * * * /usr/bin/rdate -s time.nist.gov | logger -t NTP
45 1 1 * * /etc/webmin/backup-config/backup.pl 149976970822160
10 6 1 * * sh /root/8rsync-6-cnrootwww.sh > /dev/null
20 6 * * 7 sh /root/8backup8-md_all.sh > /dev/null
30 6 * * 6 sh /root/8rsync-6-etc-to-gcbak.sh > /dev/null
40 6 1,11,21 * * sh /root/8rsync-6-cronmail.sh > /dev/null
50 6 * * 2,4,6 sh /root/8rsync-6-gcbak6mysql.sh > /dev/null