MySql: backup and restore database using mysql/mysqldump

Categories: Database; Tagged with: ; @ July 31st, 2010 16:21

Backup database:

> (sudo) mysqldump db-name > db-backup.sql

Restore database:

> (sudo) mysql db-name (--no-date)(no-create-info) < db-backup.sql



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.