mysql backup database
snippet in sql

mysql dump restore

user4160

mysql -u [user] -p [database_name] < [filename].sql

mysql backup database

user5151

mysqldump database_name > database_name.sql

mysql restore backup from multiple files

user5453

find . -name '*.sql' | awk '{ print "source",$0 }' | mysql --batc