afficher les erreurs en cas d'erreur de sauvegarde de la base de donnée
This commit is contained in:
parent
efc3f5848c
commit
b1bcd05792
|
@ -19,7 +19,7 @@ for databasename in $DATABASES; do
|
|||
continue
|
||||
;;
|
||||
*)
|
||||
mysqldump --defaults-file=/etc/mysql/debian.cnf --databases $databasename --flush-privileges --create-options -Q -c $OPTION 2>/dev/null > $MYSQLSAVDIR/$databasename.sql
|
||||
mysqldump --defaults-file=/etc/mysql/debian.cnf --databases $databasename --flush-privileges --create-options -Q -c $OPTION > $MYSQLSAVDIR/$databasename.sql
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue