Skip to Main Content
The world's most popular open source database
Contact MySQL  | 
Login  |  Register
  • MySQL.com
  • Downloads
  • Documentation
  • Developer Zone
Developer Zone Downloads MySQL.com
Documentation
  • MySQL Server
  • MySQL Enterprise
  • Workbench
  • InnoDB Cluster
  • MySQL NDB Cluster
  • Connectors
  • More
  • MySQL.com
  • Downloads
  • Developer Zone
Section Menu:  
Documentation Home
MySQL Backup and Recovery
  • Preface and Legal Notices
  • Backup and Recovery
    • Backup and Recovery Types
    • Database Backup Methods
    • Example Backup and Recovery Strategy
      • Establishing a Backup Policy
      • Using Backups for Recovery
      • Backup Strategy Summary
    • Using mysqldump for Backups
      • Dumping Data in SQL Format with mysqldump
      • Reloading SQL-Format Backups
      • Dumping Data in Delimited-Text Format with mysqldump
      • Reloading Delimited-Text Format Backups
      • mysqldump Tips
        • Making a Copy of a Database
        • Copy a Database from one Server to Another
        • Dumping Stored Programs
        • Dumping Table Definitions and Content Separately
        • Using mysqldump to Test for Upgrade Incompatibilities
    • Point-in-Time (Incremental) Recovery
      • Point-in-Time Recovery Using Binary Log
      • Point-in-Time Recovery Using Event Positions
    • MyISAM Table Maintenance and Crash Recovery
      • Using myisamchk for Crash Recovery
      • How to Check MyISAM Tables for Errors
      • How to Repair MyISAM Tables
      • MyISAM Table Optimization
      • Setting Up a MyISAM Table Maintenance Schedule
  • Using Replication for Backups
    • Backing Up a Replica Using mysqldump
    • Backing Up Raw Data from a Replica
    • Backing Up a Source or Replica by Making It Read Only
  • InnoDB Backup
Related Documentation
MySQL 5.7 Reference Manual
MySQL 5.7 Release Notes
Download this Excerpt
PDF (US Ltr) - 203.8Kb
PDF (A4) - 205.2Kb


version 5.7
8.3
8.0  current

MySQL Backup and Recovery

Abstract

This is the MySQL Backup and Recovery extract from the MySQL 5.7 Reference Manual.

For legal information, see the Legal Notices.

For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.

Document generated on: 2025-05-02 (revision: 81874)


Table of Contents

Preface and Legal Notices
1 Backup and Recovery
1.1 Backup and Recovery Types
1.2 Database Backup Methods
1.3 Example Backup and Recovery Strategy
1.3.1 Establishing a Backup Policy
1.3.2 Using Backups for Recovery
1.3.3 Backup Strategy Summary
1.4 Using mysqldump for Backups
1.4.1 Dumping Data in SQL Format with mysqldump
1.4.2 Reloading SQL-Format Backups
1.4.3 Dumping Data in Delimited-Text Format with mysqldump
1.4.4 Reloading Delimited-Text Format Backups
1.4.5 mysqldump Tips
1.5 Point-in-Time (Incremental) Recovery
1.5.1 Point-in-Time Recovery Using Binary Log
1.5.2 Point-in-Time Recovery Using Event Positions
1.6 MyISAM Table Maintenance and Crash Recovery
1.6.1 Using myisamchk for Crash Recovery
1.6.2 How to Check MyISAM Tables for Errors
1.6.3 How to Repair MyISAM Tables
1.6.4 MyISAM Table Optimization
1.6.5 Setting Up a MyISAM Table Maintenance Schedule
2 Using Replication for Backups
2.1 Backing Up a Replica Using mysqldump
2.2 Backing Up Raw Data from a Replica
2.3 Backing Up a Source or Replica by Making It Read Only
3 InnoDB Backup

HOME   NEXT
Related Documentation
MySQL 5.7 Reference Manual
MySQL 5.7 Release Notes
Download this Excerpt
PDF (US Ltr) - 203.8Kb
PDF (A4) - 205.2Kb
Contact MySQL Sales
USA/Canada: +1-866-221-0634   (More Countries »)
  © 2025 Oracle

  • Products
  • HeatWave
  • MySQL Enterprise Edition
  • MySQL Standard Edition
  • MySQL Classic Edition
  • MySQL Cluster CGE
  • MySQL Embedded (OEM/ISV)
  • Services
  • Training
  • Certification
  • Support
  • Downloads
  • MySQL Community Server
  • MySQL NDB Cluster
  • MySQL Shell
  • MySQL Router
  • MySQL Workbench
  • Documentation
  • MySQL Reference Manual
  • MySQL Workbench
  • MySQL NDB Cluster
  • MySQL Connectors
  • Topic Guides
  • About MySQL
  • Contact Us
  • Blogs
  • How to Buy
  • Partners
  • Job Opportunities
  • Site Map
  © 2025 Oracle
Privacy / Do Not Sell My Info | Terms of Use | Trademark Policy |
Cookie Preferences