My Oracle Support Banner

Backup and Restore Of Group Replication Node ( MySQL 8.0+ ) (Doc ID 2449881.1)

Last updated on MARCH 13, 2024

Applies to:

MySQL Server - Version 8.0 and later
MySQL Enterprise Backup - Version 8.0 and later
Information in this document applies to any platform.

Goal

Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see https://dev.mysql.com/doc/mysqld-version-reference/en/ for a complete list of those changes, and in which minor versions it happened.

How to take a backup and subsequently restore any GR node on MySQL Server 8 (  8.0.11+ )

Use Cases;

* To recover a failed node

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Example - Failed node
 1) Take backup
 2) Copy backup image to remote host
 3) Restore
 
 MySQL Shell / InnoDB Cluster
 cluster.status()
 cluster.rescan()
 cluster.addInstance()
 
 
 Standlone Group Replicaiton
 Multi Primary : Set Read Only
 Super_read_only
 Check File system permissions
 Reset Source
 Reset the Replica
 Execute GTID Purge
 Start Group Replication ( or via MySQLShell addInstance() )
 Multi Primary : Enable Read / Write
 In Summary
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.