[MySQL] Added spaces for readibility

This commit is contained in:
Simon Cornet 2022-09-07 14:58:42 +02:00
parent 86b074751c
commit dff498cf3f

View File

@ -9,7 +9,7 @@ retention=3
mkdir -p $backup_dir mkdir -p $backup_dir
# database backup # database backup
for DB in $(mysql -e 'show databases' -sN|grep -v 'information_schema\|performance_schema'); do for DB in $(mysql -e 'show databases' -sN | grep -v 'information_schema\|performance_schema'); do
mysqldump $DB > "$backup_dir/$date.$DB.sql"; mysqldump $DB > "$backup_dir/$date.$DB.sql";
done done