|
|
@ -89,6 +89,7 @@ done |
|
|
|
umask 177 |
|
|
|
umask 177 |
|
|
|
# MYSQL Dump |
|
|
|
# MYSQL Dump |
|
|
|
for DATABASE in $DATABASES; do |
|
|
|
for DATABASE in $DATABASES; do |
|
|
|
mysqldump --user=$USER --password=$PASSWORD --host=$HOST $DATABASE \ |
|
|
|
# mysqldump --user=$USER --protocol=socket -S /var/run/mysqld/mysqld.sock "$DATABASE" |
|
|
|
|
|
|
|
mysqldump --user=$USER --password=$PASSWORD --host=$HOST "$DATABASE" \ |
|
|
|
> "$DIR/$BACKUP_NAME/$DATABASE-$BACKUP_NAME.sql" |
|
|
|
> "$DIR/$BACKUP_NAME/$DATABASE-$BACKUP_NAME.sql" |
|
|
|
done |
|
|
|
done |
|
|
|