| name | auto-backup |
| description | Automated backup solution for databases, files, and cloud storage. Supports multiple destinations and incremental backups. |
| triggers | ["auto backup","自动备份","backup database","schedule backup"] |
Auto Backup
Automated backup solution for databases, files, and cloud storage.
Features
- 💾 Multi-source — Files, databases, Docker volumes
- ☁️ Multi-dest — S3, GCS, FTP, Local
- 📦 Incremental — Only backup changes
- 📅 Schedule — Cron-based scheduling
- 🔐 Encrypted — AES-256 encryption
Supported Sources
| Source | Type | Status |
|---|
| PostgreSQL | Database | ✅ |
| MySQL | Database | ✅ |
| MongoDB | Database | ✅ |
| Files | Directory | ✅ |
| Docker Volumes | Container | ✅ |
| Redis | Cache | ✅ |
Supported Destinations
| Destination | Type | Status |
|---|
| AWS S3 | Cloud | ✅ |
| Google Cloud Storage | Cloud | ✅ |
| FTP/SFTP | Server | ✅ |
| Local | Disk | ✅ |
| Backblaze B2 | Cloud | ✅ |
Usage
Backup Database
hermes backup postgres \
--host localhost \
--database mydb \
--output s3://my-bucket/backups/
hermes backup postgres --encrypt --password secret123
Backup Files
hermes backup files /var/www/html \
--dest s3://my-bucket/files/ \
--exclude "node_modules,*.log"
Schedule Backup
hermes backup schedule --cron "0 2 * * *" --task db-backup
hermes backup schedule --cron "0 * * * *" --task log-archive
Configuration
backup:
compress: gzip
encryption: aes-256
sources:
postgres:
host: ${DB_HOST}
port: 5432
database: mydb
destinations:
s3:
bucket: my-backup-bucket
region: us-east-1
prefix: backups/
Restore
hermes backup restore s3://my-bucket/backups/postgres-2026-05-30.sql.gz
hermes backup list --source postgres
Pitfalls
- Storage Cost — Monitor cloud storage usage
- Retention — Set retention policies to save cost
- Test Restore — Regularly test backup restoration