MySQL Backup and Restore Commands for Database Administration

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

47 Responses

  1. Bile Bakshi says:

    I would like to share somethings after go through this web site. I crack Linux system administrator interview on first attempt. And I got the job. And I have crack the second interview on second attempt. And I have offer letter from second one. I m very happy.

  2. Venkat says:

    Thanks for this very beautiful and clear article.

  3. siva says:

    Hi Ravi, backup and restore commands are really useful.

    I was looking for the command to know the backup status. can you please help on that.

    • Ravi Saive says:


      There isn’t any command that shows backup status, you need to check manually after taking backup manually or through script…or you can set a ‘mail to’ in script to get email notification once backup is complete..

  4. Bashir Deen says:

    This is such a helpful article with regarding to mysql backups.

  5. Tad Osborn says:

    Your last item regarding mysqlimport is not accurate. Two problems:
    1) < character is not used
    2) mysqlimport is for importing text files (csv) and the file name needs to be the table name. The program will automatically use the string in front of the period as the table name…so it errors out because it can't find a table named rsyslog in the database rsyslog.

    • Ravi Saive says:


      Thanks for pointing out, yes it should be mysql or mysqladmin for restoring databases. I will make the changes as suggested..

  6. Cyrille Tarla says:

    Thanks this was really good and it did help me alot

  7. Gibran says:

    How to repair single database and all databases

  8. Abmysql is a free web service,
    with abmysql you can run automatically some backup when you want on a secure server (provide by abmysql) and to another FTP server, google drive, Dropbox,etc.

    Try now, it’s free !

Leave a Reply to Venkat Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.