代码拉取完成,页面将自动刷新
$ npm i // 安装依赖
$ npm run dev // 启动项目(调试)
$ npm start // 启动项目
$ npm stop // 停止项目
/root/mysqldump/backupmysql.sh;
# 执行备份数据版本控制
cd /root/backups/mysql;
git add . ; git commit -m 'init';
# 提交备份数据至git仓库
git push --force;
DBNAMES[0]="jeecg-boot" # databases you want to backup, separated by a space; leave empty to backup all databases on this host
DBUSER[0]="mysqldumpuser" # MySQL username
DBPASS[0]="mysqldumpuser" # MySQL password
DBHOST[0]="172.18.254.95" # your MySQL server's location (IP address is best)
DBPORT[0]="3309" # MySQL port
DBTABLES[0]="" # tables you want to backup or exclude, separated by a space; leave empty to back up all tables
DBTABLESMATCH[0]="include" # include will backup ONLY the tables in DBTABLES, exclude will backup all tables BUT those in DBTABLES
DBOPTIONS[0]="--quick --single-transaction"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。