fordb_namein`mysql-h${MYSQL_HOST}-u${MYSQL_USER}-p${MYSQL_PWD}-e"show databases;"|grep${MYSQL_DB}` do mysqldump-h${MYSQL_HOST}-u${MYSQL_USER}-p${MYSQL_PWD}$db_name|$gzip>$bakdir/$db_name-$date.sql.gz done
# Delete more than 10 days /usr/bin/find${bakdir}-mtime+10-execrm-rf{}\;