#Take backup of database mysqldump database > backup-file.sql; #Restore database mysql database < backup-file.sql;
mysqldump db_name table_name > table_backup.sql
mysqldump database_name > database_name.sql