------------------------------------------------------------
开始的的策略
------------------------------------------------------------
#!/bin/bash
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA cms > /mysqlbak/multi/cms/cms_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA dhcp > /mysqlbak/multi/dhcp/dhcp_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA cuservice > /mysqlbak/multi/cuservice/cuservice_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA zzidc_db > /mysqlbak/multi/zzidc_db/zzidc_db_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA --all-databases > /mysqlbak/multi/full/alldata_`date +%Y%m%d%H%m%S`.sql
开始的的策略
------------------------------------------------------------
#!/bin/bash
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA cms > /mysqlbak/multi/cms/cms_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA dhcp > /mysqlbak/multi/dhcp/dhcp_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA cuservice > /mysqlbak/multi/cuservice/cuservice_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA zzidc_db > /mysqlbak/multi/zzidc_db/zzidc_db_`date +%Y%m%d%H%m%S`.sql
mysqldump -h10.82.100.101 -umysqlbak_zc -pfirebaseGA --all-databases > /mysqlbak/multi/full/alldata_`date +%Y%m%d%H%m%S`.sql