3 Star 3 Fork 2

shengtaii / xdata-rest-service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

xdata-rest-service

Development

$ npm i       // 安装依赖
$ npm run dev // 启动项目(调试)

Deploy

$ npm start  // 启动项目
$ npm stop   // 停止项目

MySQL backup user info

  • 备份脚本
/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"

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/shengtaii/xdata-rest-service.git
git@gitee.com:shengtaii/xdata-rest-service.git
shengtaii
xdata-rest-service
xdata-rest-service
master

搜索帮助