You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Currently backs up CouchDB, InfluxDB, MySQL, MongoDB, Postgres, Redis, Rethink s
17
17
* backup all databases
18
18
* choose to have an MD5 sum after backup for verification
19
19
* delete old backups after specific amount of time
20
-
* choose compression type (none, gz, bz, xz)
20
+
* choose compression type (none, gz, bz, xz, zstd)
21
21
* connect to any container running on the same system
22
22
* select how often to run a dump
23
23
* select when to start the first dump, whether time of day or relative to container start time
@@ -83,13 +83,16 @@ The following directories are used for configuration and can be mapped for persi
83
83
84
84
## Environment Variables
85
85
86
+
*If you are trying to backup a database that doesn't have a user or a password (you should!) make sure you set `CONTAINER_ENABLE_DOCKER_SECRETS=FALSE`*
87
+
86
88
Along with the Environment Variables from the [Base image](https://hub.docker.com/r/tiredofit/alpine), below is the complete list of available options that can be used to customize your installation.
87
89
88
90
89
91
| Parameter | Description |
90
92
|-----------|-------------|
91
93
| `BACKUP_LOCATION` | Backup to `FILESYSTEM` or `S3` compatible services like S3, Minio, Wasabi - Default `FILESYSTEM`
92
-
| `COMPRESSION` | Use either Gzip `GZ`, Bzip2 `BZ`, XZip `XZ`, or none `NONE` - Default `GZ`
94
+
| `COMPRESSION` | Use either Gzip `GZ`, Bzip2 `BZ`, XZip `XZ`, ZSTD `ZSTD` or none `NONE` - Default `GZ`
95
+
|`COMPRESSION_LEVEL`| Numberical value of what level of compression to use, most allow `1` to `9` except for `ZSTD` which allows for `1` to `19` - Default `3`|
93
96
| `DB_TYPE` | Type of DB Server to backup `couch``influx``mysql``pgsql``mongo``redis``rethink`
94
97
| `DB_HOST` | Server Hostname e.g. `mariadb`
95
98
| `DB_NAME` | Schema Name e.g. `database`
@@ -107,6 +110,7 @@ Along with the Environment Variables from the [Base image](https://hub.docker.co
107
110
|`PARALLEL_COMPRESSION`| Use multiple cores when compressing backups `TRUE` or `FALSE` - Default `TRUE`|
108
111
|`SPLIT_DB`| If using root as username and multiple DBs on system, set to TRUE to create Seperate DB Backups instead of all in one. - Default `FALSE`|
109
112
113
+
110
114
**Backing Up to S3 Compatible Services**
111
115
112
116
If `BACKUP_LOCATION` = `S3` then the following options are used.
0 commit comments