#### 23.6.14.3 ndbinfo 备份\_标识表

此表提供了一种查找此集群最近启动的备份 ID 的方法。

这`备份 ID`表包含单个列`id`，它对应于使用[**数据库\_毫克**](mysql-cluster-programs-ndb-mgm.html)客户[`开始备份`](mysql-cluster-backup-using-management-client.html)命令。此表包含单行。

*例子*：假设以下序列`开始备份`在 NDB 管理客户端中发出的命令，自集群首次启动以来没有进行其他备份：

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

在此之后，`备份 ID`表包含此处显示的单行，使用[**mysql**](mysql.html)客户：

```
mysql> USE ndbinfo;

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

如果找不到备份，则该表包含一行`0`作为`id`价值。

这`备份 ID`表是在 NDB 8.0.24 中添加的。
