Documentation Home
MySQL 9.1 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.4Mb
PDF (A4) - 40.5Mb
Man Pages (TGZ) - 259.5Kb
Man Pages (Zip) - 366.7Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


25.6.17.3 The ndbinfo backup_id Table

This table provides a way to find the ID of the backup started most recently for this cluster.

Thebackup_id table contains a single columnid, which corresponds to a backup ID taken using thendb_mgm clientSTART BACKUP command. This table contains a single row.

Example: Assume the following sequence ofSTART BACKUP commands issued in the NDB management client, with no other backups taken since the cluster was first started:

ndb_mgm> START BACKUPWaiting for completed, this may take several minutesNode 5: Backup 1 started from node 50Node 5: Backup 1 started from node 50 completed StartGCP: 27894 StopGCP: 27897 #Records: 2057 #LogRecords: 0 Data: 51580 bytes Log: 0 bytesndb_mgm> START BACKUP 5Waiting for completed, this may take several minutesNode 5: Backup 5 started from node 50Node 5: Backup 5 started from node 50 completed StartGCP: 27905 StopGCP: 27908 #Records: 2057 #LogRecords: 0 Data: 51580 bytes Log: 0 bytesndb_mgm> START BACKUPWaiting for completed, this may take several minutesNode 5: Backup 6 started from node 50Node 5: Backup 6 started from node 50 completed StartGCP: 27912 StopGCP: 27915 #Records: 2057 #LogRecords: 0 Data: 51580 bytes Log: 0 bytesndb_mgm> START BACKUP 3Connected to Management Server at: localhost:1186 (using cleartext)Waiting for completed, this may take several minutesNode 5: Backup 3 started from node 50Node 5: Backup 3 started from node 50 completed StartGCP: 28149 StopGCP: 28152 #Records: 2057 #LogRecords: 0 Data: 51580 bytes Log: 0 bytesndb_mgm>

After this, thebackup_id table contains the single row shown here, using themysql client:

mysql> USE ndbinfo;Database changedmysql> SELECT * FROM backup_id;+------+| id   |+------+|    3 |+------+1 row in set (0.00 sec)

If no backups can be found, the table contains a single row with0 as theid value.