File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Database Backuper docker image
22Backup Databases Regularly.
3- This script until now just work for ** mongodb** and ** postgresql** databases.
3+ Works for ** mongodb** , ** postgresql** , ** mysql ** databases.
44
55## Enviroments
66| Variable | Description |
77| ----------| :-------------:|
88| DURATION | Linux ` sleep ` time format |
9- | DRIVER | Type of your database. ` mongodb ` or ` postgresql ` |
9+ | DRIVER | Type of your database. ` mongodb ` or ` postgresql ` or ` mysql ` |
1010| DB_HOST | Hostname or IP address of database |
11- | DB_PORT | default gateway of local network |
11+ | DB_PORT | Default gateway of local network |
1212| DB_DATABASE | Database name |
1313| DB_USERNAME | Usename of database |
1414| DB_PASSWORD | Password of db user |
1515| COUNT | Number of last backup that must be saved to volume. if number become longer than this value the first created backup file will be removed |
16- | MDAUTHDB | authentication Database just use for ` mongodb ` |
16+ | MDAUTHDB | Authentication Database just use for ` mongodb ` |
1717
1818## Sample Docker-Compose file
1919```
You can’t perform that action at this time.
0 commit comments