标签:ase mysqldump dump rman format gzip bash done mys
mysql -e ‘show databases;‘ |grep -Ev ‘Database|information_schema|performance_schema‘ |sed -r "s@(.*)@mysqldump -B \1 |gzip > \/date\/\1.sql.gz1@" | bashfor i in mysql -e ‘show databases;‘ |grep -Ev ‘Database|information_schema|performance_schema‘
;do mysqldump -B $i |gzip > ${i}.sql.gz ;done
标签:ase mysqldump dump rman format gzip bash done mys
原文地址:https://blog.51cto.com/14114496/2353701