mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 21:33:28 +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>
|
## 1.9 - 2018-11-03 - <dave at tiredofit dot ca>
|
||||||
|
|
||||||
* Switch from OpenSSL to LibreSSL
|
* 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() {
|
function backup_influx() {
|
||||||
for DB in $DB_NAME; do
|
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
|
generate_md5
|
||||||
compression
|
compression
|
||||||
move_backup
|
move_backup
|
||||||
|
|||||||
Reference in New Issue
Block a user