• 🏠 Home
  • 🧰 Online Generators
  • 📰 Blog
  • 🔎 Search
  • 📧 Contact
  • 📘 Guestbook
  • 🗞️ News
  • 💰 Support
  • ℹ️ Info: The website has been modernized to improve readability and smartphone compatibility. Feel free to report any bugs using the contact form

    Backup a MySQL database


    Backup only one database

      mysqldump --user=MySQLUser --password=MySQLPassword MyDatabase > BackupFile.sql
    This will backup the database "MyDatabase", with "MySQLUser" user, and "MySQLPassword" password. The file BackupFile.sql will be generated by this command.

    Backup all databases

      mysqldump --user=MySQLUser --password=MySQLPassword --all-databases > BackupFile.sql
    This will backup all MySQL databases, with "MySQLUser" user, and "MySQLPassword" password. The file BackupFile.sql will be generated by this command.

    Go Back



    (c) 2005-2025 Jérôme DESMOULINS
    Data privacy