Online Backup Of Mysql Cluster - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

In addition to the central configuration file, a cluster may also be controlled through a command-
line interface available through the management client ndb_mgm. This is the primary administrative
interface to a running cluster.
Commands for the event logs are given in
Cluster"; commands for creating backups and restoring from them are provided in
"Online Backup of MySQL
The management client has the following basic commands. In the listing that follows,
either a database node ID or the keyword ALL, which indicates that the command should be applied to
all of the cluster's data nodes.

17.5.3. Online Backup of MySQL Cluster

The next few sections describe how to prepare for and then to create a MySQL Cluster backup using
the functionality for this purpose found in the
of backup from a backup made using mysqldump, we sometimes refer to it as a "native" MySQL
Cluster backup. (For information about the creation of backups with mysqldump, see
"mysqldump
— A Database Backup
using the
ndb_restore
ndb_restore
— Restore a MySQL Cluster
17.5.3.1. MySQL Cluster Backup Concepts
A backup is a snapshot of the database at a given time. The backup consists of three main parts:
• Metadata.
• Table records.
made
• Transaction log.
Each of these parts is saved on all nodes participating in the backup. During backup, each node saves
these three parts into three files on disk:
BACKUP-backup_id.node_id.ctl
A control file containing control information and metadata. Each node saves the same table
definitions (for all tables in the cluster) to its own version of this file.
BACKUP-backup_id-0.node_id.data
A data file containing the table records, which are saved on a per-fragment basis. That is, different
nodes save different fragments during the backup. The file saved by each node starts with a header
Online Backup of MySQL Cluster
Cluster".
Program".) Restoration of MySQL Cluster backups is done
utility provided with the MySQL Cluster distribution; for information about
and its use in restoring MySQL Cluster backups, see
Backup".
The names and definitions of all database tables
The data actually stored in the database tables at the time that the backup was
A sequential record telling how and when data was stored in the database
Section 17.5.6, "Event Reports Generated in MySQL
management client. To distinguish this type
ndb_mgm
1656
Section 17.5.3,
node_id
Section 4.5.4,
Section 17.4.14,
"ndb_restore
denotes

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents