Get the App
SLTechnology News&Howtos  ›  Database  › 

What are the Percona XtraBackup introduction and backup steps?

Shulou Source: shulou.com Published: 2022-05-31 14:06:37 09月30日 Update

Percona XtraBackup introduction and backup steps are what, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this can learn, I hope you can gain something.

Percona XtraBackup is an open source free MySQL database hot backup software that can backup databases of InnoDB and XtraDB storage engines without blocking (MyISAM backups also require table locks).

XtraBackup supports all Percona Server, MySQL, MariaDB and Drizzle.

XtraBackup Benefits:

1. No need to stop database for InnoDB hot standby

2. Incremental backup MySQL

3. Stream compression to other servers

4. It is easy to create master-slave synchronization

5, MySQL backup will not increase the server load

The general steps for PXB backup:

Copy the InnoDB redo log, which is copied by a separate thread until the end of the backup;

Copy all InnoDB ibd files;

FLUSH TABLES WITH READ LOCK(FTWRL);

Copy frm, MYD, MYI and other documents;

Get the location information and execute show slave status and show master status.

UNLOCK UNTABLES;

Do some finishing touches, backup's done.

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

Tags: Backup copy data database step file server help support service clear master-slave advantage location information global content increment for this engine Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia Docker macOS Shulou Technology