mysql备份恢复 备份命令:mysqldump -u root -p --opt 数据库名 > /data/数据库文件名.sql恢复命令:mysql -u root -p 数据库名</data/恢复的数据库文件