magic is happening
Read Time32Seconds

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 its 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 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.

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

1 0

About Post Author

samgan

samgan excel at solving complex problems involving logic and step by step breakdown of the problem. In addition, to develop complex algorithms, he specialize in problem framing, systems design, and product development strategy. Sometimes he also enjoy public speaking.
100 %
Happy
0 %
Sad
0 %
Excited
0 %
Angry
0 %
Surprise

Leave a Reply

Your email address will not be published. Required fields are marked *

Close
Social profiles