mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-22 05:33:53 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af5c6198ce |
@@ -1,3 +1,7 @@
|
||||
## 1.10 - 2018-11-19 - <dave at tiredofit dot ca>
|
||||
|
||||
* Fix for InfluxDB for backing up and supporting DB_PORT variable - Thanks skylord123@github
|
||||
|
||||
## 1.9 - 2018-11-03 - <dave at tiredofit dot ca>
|
||||
|
||||
* Switch from OpenSSL to LibreSSL
|
||||
|
||||
4
install/etc/cont-finish.d/10-db-backup
Normal file
4
install/etc/cont-finish.d/10-db-backup
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
pkill bash
|
||||
|
||||
@@ -126,7 +126,7 @@ function backup_mysql() {
|
||||
|
||||
function backup_influx() {
|
||||
for DB in $DB_NAME; do
|
||||
influxd backup -database $DB -host {DBHOST} ${TMPDIR}/${TARGET}
|
||||
influxd backup -database $DB -host ${DBHOST} -p ${DBPORT} ${TMPDIR}/${TARGET}
|
||||
generate_md5
|
||||
compression
|
||||
move_backup
|
||||
|
||||
Reference in New Issue
Block a user