mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 13:23:12 +01:00
Update run
influx command actually doesn't accept a port argument, so instead pass it in as part of the host (to keep a uniform config with the other DB types)
This commit is contained in:
@@ -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} -p ${DBPORT} ${TMPDIR}/${TARGET}
|
influxd backup -database $DB -host ${DBHOST}:${DBPORT} ${TMPDIR}/${TARGET}
|
||||||
generate_md5
|
generate_md5
|
||||||
compression
|
compression
|
||||||
move_backup
|
move_backup
|
||||||
|
|||||||
Reference in New Issue
Block a user