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:
Skylar Sadlier
2018-11-18 16:09:57 -07:00
committed by GitHub
parent 96f3120e35
commit 5807ba07e3

View File

@@ -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