摘要: #!/bin/bashDBS=$(mysql -u root -padmin -e 'use database; show tables;' | awk '{ print $1 }');for table in ${DBS}dodbbak="/home/db/backups/db-"${table} 阅读全文
posted @ 2016-06-23 20:15 乡村猫 阅读(259) 评论(0) 推荐(0) 编辑