- mysqldump
copy .env.sample .env
copy .db.ini.sample .db.ini
pnpm install
./index.js backup -d [dbName]
./index.js backup -d [dbName] -n 20
./index.js backup create
或者
chmod a+x ./backup
./backup.sh
0 12 * * * /path/to/backup.sh
0 0 * * * /path/to/backup.sh