As you know regular backups of DB for a running site are very important. Most of the hosting providers do this for you, but sometimes it's also expected from you to do the same.

The easiest way is to create a Replica of the current DB through the command line and download it.

Below is the command for doing the same. I am assuming that you are already logged in to your server through SSH.

Command

mysqldump -u DB_USERNAME -p DB_DATABASE > FILENAME.sql

It will ask for the password but you can handle it.

Moreover, if you want to take a backup of particulate tables from the database you have to pass the name of the tables separated by space.

mysqldump -u DB_USERNAME -p DB_DATABASE TABLE_1 TABLE_2 > FILENAME.sql

Feel free to ask in the comment section in case of any doubt.