diff --git a/Linux/mysql_backup.sh b/Linux/mysql_backup.sh index 30b365a..66b50c7 100644 --- a/Linux/mysql_backup.sh +++ b/Linux/mysql_backup.sh @@ -9,7 +9,7 @@ retention=3 mkdir -p $backup_dir # 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"; done