MySQL Advanced five--backup and recovery

Source: Internet
Author: User

First, the purpose of backup:


For recovery, the data to be backed up is tested for recovery.

A backup is for a database.


Second, the type of backup:


1, depending on whether the server is online during backup:

(1), Cold Cold backup: Offline backup.

(2), Win Bei warm backup: Readable only, not writable.

(3) Hot standby: Online backup.


2. According to the data set backed up:

(1) Full backup

(2). Partial backup: Partial backup, only some tables are backed up


3. Depending on the interface at the time of backup (directly backing up data files or exporting data via MySQL server):

(1), Physical backups physical backup:

Copy the data file directly.

(2), logical backup logical:

Extract the data from the library and save it as a text file (the accuracy of the floating-point numbers cannot be guaranteed and the index will be lost).

Mysqldump

4. Backup the entire data or only the changed data based on backup

(1) Full backup

(2), incremental backups: Incremental backup

(3), differential backups: differential backup


MySQL Advanced five--backup and recovery

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.