摘要:
将脚本复制到sql所在文件夹下,chmod -R 777 restore.sh 修改权限修改脚本里的sql文件名即可启动时:nohup ./restore.sh & 注意注意!此时不能直接关闭终端,需要按回车再次进入命令行,输入命令 exit 退出终端,然后才可关闭终端,如果在nohup执行成功后直 阅读全文
摘要:
sehll基础: https://www.runoob.com/linux/linux-shell-variable.html mysql备份脚本: https://www.cnblogs.com/tengfei520/p/7928700.html shell基础问题: https://blog.c 阅读全文