- Notifications
You must be signed in to change notification settings - Fork0
SamMintah/database-backup-utility
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Database Backup Utility
A Node.js CLI tool for backing up and restoring multiple types of databases (MySQL, PostgreSQL, MongoDB, SQLite). Supports full, incremental, and differential backups, with options for local and cloud storage (AWS S3, Google Cloud Storage, Azure Blob). Includes automatic backup scheduling, compression, and logging of activities.
Features:
- Supports MySQL, PostgreSQL, MongoDB, SQLite
- Full, incremental, and differential backups
- Backup compression to save storage space
- Local and cloud storage options
- Backup scheduling and logging
- Easy restoration with selective restore options
- Notifications via Slack
To see the available commands and options, run:
npm runhelp> database-backup-utility@1.0.0help> ts-node ./src/cli.tsUsage: db-backup-utility [command] [options]CLI tool to backup, restore, and schedule database backupsOptions: -V, --version output the version number -h, --help displayhelpforcommandCommands: configure Run the configuration wizardfor database setup backup [options] Backs up the database restore [options] Restores the database from a backup file or cloud storage schedule [options] Schedules automatic backups using a cron expression list [options] List existing backupshelp [command] displayhelpforcommand
Tech Stack:
- Node.js
- Commander.js (CLI framework)
- MySQL, PostgreSQL, MongoDB, SQLite
- Cloud Storage: AWS S3, Google Cloud Storage, Azure Blob
- Compression: zlib
- Logging: Winston
