#!/bin/bash cd $(dirname $0) grep -v '^#' .backup | while read DB do mysqldump --column-statistics=0 ${LIGA_MYSQL_CONNECTION_OPTS} $DB > backup/$DB.sql done