Skip to content

Commit aa1c8b3

Browse files
authored
Merge pull request #16 from tito/tito-patch-1
Fix usage of DB_PORT for single mariadb database
2 parents 78e7434 + 243bbb9 commit aa1c8b3

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)