diff options
author | lookshe <github@lookshe.org> | 2014-11-01 22:43:04 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2014-11-01 22:43:04 +0100 |
commit | 81b7cdc53baa4df70efeafda6df454c4053fcfbe (patch) | |
tree | d3ba29dca263834e86327ba4c83a387791226ad7 | |
parent | a29ec21bcdb5d11b9807f4aa79fa4684a715bee0 (diff) |
added performance_schema to not backuped databases
-rwxr-xr-x | backup_db.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backup_db.sh b/backup_db.sh index 2562695..501d9d8 100755 --- a/backup_db.sh +++ b/backup_db.sh @@ -47,7 +47,7 @@ source_section "$config_file" "general" cd "$db_dir" # get all databases -databases=$(nice -n 19 mysql -u root -N -e "show databases;" | grep -v "^information_schema$" | grep -v "^mysql$") +databases=$(nice -n 19 mysql -u root -N -e "show databases;" | grep -v "^information_schema$" | grep -v "^mysql$" | grep -v "^performance_schema$") # handle each database for database in $databases |