generated from ztimson/template
Fixed backups & added replica recovery
All checks were successful
Build and publish / Build Container (push) Successful in 1m22s
All checks were successful
Build and publish / Build Container (push) Successful in 1m22s
This commit is contained in:
15
README.md
15
README.md
@@ -51,12 +51,15 @@ To restore a backup, uncompress it and use the official `mongorestore`
|
||||
|
||||
### Environment Variables
|
||||
|
||||
| Variable | Description | Default | Example |
|
||||
|--------------------|--------------------------------|--------------------------|---------------|
|
||||
| `BACKUP_CRON` | Cron schedule expression | - | `0 */6 * * *` |
|
||||
| `BACKUP_DIR` | Directory to store backups | /data/backups | `/backups` |
|
||||
| `BACKUP_DB` | Database that will be backedup | `$MONGO_INITDB_DATABASE` | `admin` | |
|
||||
| `BACKUP_RETENTION` | Number of backups to keep | - | `7` |
|
||||
| Variable | Description | Default | Example |
|
||||
|------------------------------|--------------------------------------------------|--------------------------|---------------|
|
||||
| `BACKUP_CRON` | Cron schedule expression | | `0 */6 * * *` |
|
||||
| `BACKUP_DIR` | Directory to store backups | `/data/backups` | `/backups` |
|
||||
| `BACKUP_DB` | Database to backup | `$MONGO_INITDB_DATABASE` | `admin` |
|
||||
| `BACKUP_RETENTION` | Number of backups to keep, defaults to unlimited | | `7` |
|
||||
| `MONGO_INITDB_DATABASE` | Default database name | | `momentum` |
|
||||
| `MONGO_INITDB_ROOT_USERNAME` | Root username for mongodump auth | | `root` |
|
||||
| `MONGO_INITDB_ROOT_PASSWORD` | Root password for mongodump auth | | `secret` |
|
||||
|
||||
### Built With
|
||||
|
||||
|
||||
Reference in New Issue
Block a user