--备份脚本--
#!/bin/bash
docker exec -i casino_mariadb mysqldump -uroot -pgyuhjjkl7698huijh78iukji78g casino_db -t user_list >
/www/casinoDocker/backup/data-date +%Y-%m-%d.sql
--删掉60天前的--
find /www/casinoDocker/backup/ -name "*.sql" -a -mtime +60 -exec rm -rf {} ;