How to use Mysql:mysql Enterprise Backup

Source: Internet
Author: User


How to use Mysql:mysql Enterprise Backup


For MySQL hot spares use the most should xtrabackup tools,

But this tool does not have a window version, just our company those wonderful to put MySQL

Installed on the window, the first time using the mysqldump backup has no effect on the system,

After a large amount of data, the estimation system can not withstand, I have to study MySQL Enterprise Backup,


MySQL Enterprise Backup This tool has a lot of features, personal feel most useful, on full-scale backup and incremental backup,

So I focused on full backup and incremental backup.


================= full standby and recovery ==================================


# Full Backup

# Back up the database

Mysqlbackup--user=root-p--backup-dir=d:\backup\mysqlbackup Backup-and-apply-log


# Restore the database and need to stop the MySQL service before recovering the database

net stop MySQL

Mysqlbackup--defaults-file= "C:/Program files/mysql/mysql Server 5.5/my.ini"--backup-dir=c:/mysqlbackup Copy-back-and-apply-log




============ incremental backup and restore ========================================

# Incremental Backups First incremental backup on a fully prepared basis, the second incremental backup is based on the first incremental backup


# fully prepared

Mysqlbackup--user=root-p--backup-dir=d:\backup\mysqlbackup Backup-and-apply-log


# First Incremental backup

Mysqlbackup--defaults-file= "C:\Program files\mysql\mysql Server 5.5\my.ini"--user=root [email protected]-- Incremental--incremental-base=dir:d:\backup\mysqlbackup--incremental-backup-dir=d:\backup\incre01 BACKUP


# A second incremental backup

Mysqlbackup--defaults-file= "C:\Program files\mysql\mysql Server 5.5\my.ini"--user=root [email protected]-- Incremental--INCREMENTAL-BASE=DIR:D:\BACKUP\INCRE01--INCREMENTAL-BACKUP-DIR=D:\BACKUP\INCRE02 BACKUP


----Start the recovery phase-----------

# merge the first backup into full standby

Mysqlbackup--backup-dir=c:\mysqlbackup--incremental-backup-dir=c:\incre01\incre01 Apply-incremental-backup


#将第二个备份合并到全备中.

Mysqlbackup--backup-dir=c:\mysqlbackup--incremental-backup-dir=c:\incre02\incre02 Apply-incremental-backup


#最后一步 Restore Data

Mysqlbackup--defaults-file= "C:/Program files/mysql/mysql Server 5.5/my.ini"--backup-dir=c:/mysqlbackup Copy-back-and-apply-log



How to use Xtrabackup:

http://dwchaoyue.blog.51cto.com/2826417/1429918


MySQL Enterprise Backup Feature Description:

Http://www.mysql.com/products/enterprise/backup.html


MySQL Enterprise Backup User manual:

Http://wenku.baidu.com/link?url=W_ Fxtp3tkq61eakec5xd7zj5t4gmaxfdlzfmdw6evzi8y4asuisv5tnp29yaln9p--w-rik16wco5yumhiapo7gxk5t6yit_2wmruenvrbs






This article is from the "SQL Server MySQL" blog, reproduced please contact the author!

How to use Mysql:mysql Enterprise Backup

Related Article

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.