Simple Database Backup tool in NodeJS (using node-cron)
Backup a local database, compress, send to defined providers in config. Also perform a cleanup task on providers. (Keep only X days of backups.)
At the root, create a config.json
file with :
$ pnpm install
$ pnpm run dev
Build to dist
folder :
$ pnpm run build
For production usage, use pm2 or similar.
pm2 start dist/src/index.js