Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.0Mb
PDF (A4) - 5.0Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.9Mb
HTML Download (Zip) - 1.9Mb


8.2.11 DUMP 23

Code Symbol Kernel Block(s)
23 [none] BACKUP

Description.  Dumps all backup records and file entries belonging to those records.

Note

The example shows a single record with a single file only, but there may be multiple records and multiple file lines within each record.

Sample Output.  With no backup in progress (BackupRecord shows as 0):

Node 2: BackupRecord 0: BackupId: 5 MasterRef: f70002 ClientRef: 0
Node 2:  State: 2
Node 2:  file 0: type: 3 flags: H'0

While a backup is in progress (BackupRecord is 1):

Node 2: BackupRecord 1: BackupId: 8 MasterRef: f40002 ClientRef: 80010001
Node 2:  State: 1
Node 2:  file 3: type: 3 flags: H'1
Node 2:  file 2: type: 2 flags: H'1
Node 2:  file 0: type: 1 flags: H'9
Node 2: BackupRecord 0: BackupId: 110 MasterRef: f70002 ClientRef: 0
Node 2:  State: 2
Node 2:  file 0: type: 3 flags: H'0

Additional Information.  Possible State values are shown in the following table:

Value State Description
0 INITIAL  
1 DEFINING Defining backup content and parameters
2 DEFINED DEFINE_BACKUP_CONF signal sent by slave, received on master
3 STARTED Creating triggers
4 SCANNING Scanning fragments
5 STOPPING Closing files
6 CLEANING Freeing resources
7 ABORTING Aborting backup

Types are shown in the following table:

Value Name
1 CTL_FILE
2 LOG_FILE
3 DATA_FILE
4 LCP_FILE

Flags are shown in the following table:

Value Name
0x01 BF_OPEN
0x02 BF_OPENING
0x04 BF_CLOSING
0x08 BF_FILE_THREAD
0x10 BF_SCAN_THREAD
0x20 BF_LCP_META

User Comments
Sign Up Login You must be logged in to post a comment.