Skip to content

Commit 243bbb9

Browse files
authored
Fix usage of DB_PORT for single mariadb database
Fixes #15
1 parent 78e7434 commit 243bbb9

File tree

1 file changed

+1
-1
lines changed
  • install/etc/s6/services/10-db-backup

1 file changed

+1
-1
lines changed

install/etc/s6/services/10-db-backup/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function backup_mysql() {
118118
fi
119119
done
120120
else
121-
mysqldump --max-allowed-packet=512M -A -h $DBHOST -u$DBUSER ${MYSQL_PASS_STR} > ${TMPDIR}/${TARGET}
121+
mysqldump --max-allowed-packet=512M -A -h $DBHOST -P $DBPORT -u$DBUSER ${MYSQL_PASS_STR} > ${TMPDIR}/${TARGET}
122122
generate_md5
123123
compression
124124
move_backup

0 commit comments

Comments
 (0)