linux 定时备份mysql数据库 |
用crontab定时执行备份脚本:crontab -e ,添加一下代码: * * */5 * * /root/mysqlbackup.sh
说明:如crontab -e 提示无此命令,可能crond 没有安装,需运行命令:[root@CentOS ~]# yum install crontabs ,并加入开机启动 chkconfig --level 35 crond on |
linux 定时备份mysql数据库 |
用crontab定时执行备份脚本:crontab -e ,添加一下代码: * * */5 * * /root/mysqlbackup.sh
说明:如crontab -e 提示无此命令,可能crond 没有安装,需运行命令:[root@CentOS ~]# yum install crontabs ,并加入开机启动 chkconfig --level 35 crond on |
Copyright © 2013-2023 . All Rights Reserved. 宵云 版权所有 南通宵云网络科技有限公司
工信部备案:苏ICP备18049042号-2 公安部备案:苏公网安备 32060102320703号
《中华人民共和国增值电信业务经营许可证》经营性ICP/ISP/IDC三证:苏B1.B2-20210805