Database Guardian
A powerful command-line utility for backing up and restoring multiple database types
Features
Multiple Database Support
Works with PostgreSQL, with MySQL, MongoDB, and SQLite coming soon.
Backup Operations
Perform full backups with compression to save storage space.
Cloud Storage
Store backups to AWS S3, with Google Cloud and Azure support coming soon.
Restore Operations
Easily restore databases from backup files with a simple command.
Scheduled Backups
Set up automatic backups using cron jobs to ensure your data is always safe.
Docker Support
Run Database Guardian via Docker without needing to install Go locally.
Installation & Commands
Installation Steps
Get started with Database Guardian by following these steps
Prerequisites
- Go (1.18 or later)
- Database client tools (e.g., pg_dump for PostgreSQL)
- Cloud SDKs for cloud storage integrations
Steps
Clone the repository
git clone https://github.com/Annany2002/Database-Guardian.gitNavigate to the project directory
cd database_guardianInstall dependencies
go mod tidyBuild the CLI
go build .