Note
This view is available starting with V4.0.0.
Purpose
This view displays information about backup destinations used for backup and restore operations across all tenants.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The tenant ID. |
| PATH | varchar(1024) | NO | The root path for backups. |
| ENDPOINT | varchar(256) | NO | The host for accessing the object storage. |
| DEST_ID | bigint(20) | YES | The ID of the backup destination. |
| DEST_TYPE | varchar(64) | YES | The type of the backup destination. Valid values:
|
| AUTHORIZATION | varchar(1024) | NO | The authorization information for object storage. |
| EXTENSION | varchar(512) | NO | Additional parameters for the backup destination. |
| CHECK_FILE_NAME | varchar(256) | YES | The name of the connectivity verification file. |
| LAST_CHECK_TIMESTAMP | timestamp(6) | YES | The timestamp of the last successful connectivity check. |
| MAX_IOPS | bigint(20) | NO | The maximum IOPS allowed for the backup media used for backup.
NoteThis column is available starting with V4.3.4. |
| MAX_BANDWIDTH | bigint(20) | NO | The maximum bandwidth allowed for the backup media used for backup, in bytes.
NoteThis column is available starting with V4.3.4. |
| MAX_BANDWIDTH_DISPLAY | varchar(29) | NO | The formatted display of the maximum bandwidth, such as 10GB/s or 10MB/s.
NoteThis column is available starting with V4.3.4. |
| STATUS | varchar(64) | YES |
NoteThis column is available starting with V4.4.1 in V4.4.x. |
Sample query
Query the backup destination information for tenant 1002 in the sys tenant.
obclient [oceanbase]> SELECT * FROM oceanbase.CDB_OB_BACKUP_STORAGE_INFO WHERE TENANT_ID=1002;
The query result is as follows:
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+--------+
| TENANT_ID | PATH | ENDPOINT | DEST_ID | DEST_TYPE | AUTHORIZATION | EXTENSION | CHECK_FILE_NAME | LAST_CHECK_TIMESTAMP | MAX_IOPS | MAX_BANDWIDTH | MAX_BANDWIDTH_DISPLAY | STATUS |
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+--------+
| 1002 | file:///home/admin/oceanbase/arglog | | 1001 | archive_log | | | 1002_connect_file_20250103T081853.obbak | 2025-01-03 16:19:04.807451 | 0 | 0 | UNLIMITED | NORMAL |
| 1002 | file:///home/admin/oceanbase/backupdata | | 1002 | backup_data | | | 1002_connect_file_20250103T081928.obbak | 2025-01-03 16:20:34.069255 | 0 | 0 | UNLIMITED | NORMAL |
+-----------+-----------------------------------------+----------+---------+-------------+---------------+-----------+-----------------------------------------+----------------------------+----------+---------------+-----------------------+--------+
2 rows in set