Documentation Home
NDB Cluster Internals
Related Documentation Download this Manual
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb


2.12 DUMP 23

Code

23

Symbol

---

Kernel Block

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:

Table 2.2 State values, the corresponding State, and a description of each State.

Value State Description
0 INITIAL ...
1 DEFINING Defining backup content and parameters
2 DEFINED DEFINE_BACKUP_CONF signal sent by fragment replica, received by source
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:

Table 2.3 File type values and names

Value Name
1 CTL_FILE
2 LOG_FILE
3 DATA_FILE
4 LCP_FILE

Flags are shown in the following table:

Table 2.4 Flag values and names

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