Ubuntu 定时备份指定mysql数据库

写个shell脚本配合crontab定时备份mysql 1. 建立备份目录,书写备份脚本sqlbackup.shsql mkdir /share/backup mkdir /share/backup/sql #!/bin/bash currentpath=/share/backup/sql backpath="testnet zentao" function makedir(){ ec
相关文章
相关标签/搜索