How to backup MySQL Database in command line

By | January 24, 2014

How to backup MySQL Database in command line

enemy@en-01:/mnt/usbstick# mysqldump -u enemy -p sibanda > sibanda.sql

Enter password: *******

enemy@en-01:/mnt/usbstick# ls -l sibanda.sql
-rwxr-xr-x 1 enemy enemy 499973 2014-01-24 20:13 sibanda.sql

There you have it!