how to backup mysql database in linux terminal code example
Example: mysql dump database command line linux
mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql
mysqldump -u<user_name> -p<user_password> <database_name> > <file_name>.sql