|
@ -63,7 +63,7 @@ copy_s3 () { |
|
|
# Multi file: yes |
|
|
# Multi file: yes |
|
|
if [ ! -z "$(echo $MULTI_FILES | grep -i -E "(yes|true|1)")" ]; then |
|
|
if [ ! -z "$(echo $MULTI_FILES | grep -i -E "(yes|true|1)")" ]; then |
|
|
if [ "${MYSQLDUMP_DATABASE}" == "--all-databases" ]; then |
|
|
if [ "${MYSQLDUMP_DATABASE}" == "--all-databases" ]; then |
|
|
DATABASES=`mysql $MYSQL_HOST_OPTS -e "SHOW DATABASES;" | grep -Ev "(Database|information_schema|performance_schema|mysql)"` |
|
|
|
|
|
|
|
|
DATABASES=`mysql $MYSQL_HOST_OPTS -e "SHOW DATABASES;" | grep -Ev "(Database|information_schema|performance_schema|mysql|sys|innodb)"` |
|
|
else |
|
|
else |
|
|
DATABASES=$MYSQLDUMP_DATABASE |
|
|
DATABASES=$MYSQLDUMP_DATABASE |
|
|
fi |
|
|
fi |
|
|