How would you backup and restore a big MySQL database? What
are the advantages of the approach which you have taken
over the others?

Answer Posted / meena bisht

Backup:- mysqldump -u <user name> -p<pwd> dbname >
filename.sql

Restore:- mysql -u <user name> -p<pwd> dbname < filename.sql

The backup and restoration of any table is faster in sql
file.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better mysql or mssql?

684


If we use sum function in mysql, does it return sum of that row or for that column?

728


What is the difference between mysql_connect and mysqli_connect?

683


How do I start mysql from command line?

747


How do I optimize a selected query in mysql?

699


Is mysql a backend?

704


What is maximum table size in mysql?

697


How do I start mysql database?

684


What is the difference between a database and a table?

712


What is mysqlcommand?

688


How to Change a users password from unix shell.

770


Is mysql a scripting language?

661


Is mysql good for large database?

682


What is unsigned int in mysql?

690


In which year mysql created?

718