From 5807ba07e32ad018408b35e136ec96283334fe8d Mon Sep 17 00:00:00 2001 From: Skylar Sadlier Date: Sun, 18 Nov 2018 16:09:57 -0700 Subject: [PATCH] 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) --- install/etc/s6/services/10-db-backup/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/etc/s6/services/10-db-backup/run b/install/etc/s6/services/10-db-backup/run index f5b4edd..86e02fe 100755 --- a/install/etc/s6/services/10-db-backup/run +++ b/install/etc/s6/services/10-db-backup/run @@ -126,7 +126,7 @@ function backup_mysql() { function backup_influx() { 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 compression move_backup