how to restore backup from mysql commandline code example Example: mysql dump restore mysql -u [user] -p [database_name] < [filename].sql