NOTES
This view is available starting with V4.0.0.
Purpose
This view displays backup job tasks of the current tenant.
Columns
Column |
Type |
Nullable |
Description |
|---|---|---|---|
| JOB_ID | NUMBER(38) | NO | ID of the backup job task. An entry is created for each backup job task. |
| INCARNATION | NUMBER(38) | NO | Shows how many incarnations Flashback Database has made. |
| BACKUP_SET_ID | NUMBER(38) | YES | Backup set ID. The ID of the sys tenant is 0 by default. For a non-sys tenant, the ID starts from 1 and increments sequentially. |
| INITIATOR_TENANT_ID | NUMBER(38) | NO | The tenant ID of the initiator of the task. This value indicates the tenant that initiates the task, which corresponds to the tenant ID that executes the backup SQL command. |
| INITIATOR_JOB_ID | NUMBER(38) | NO | the JOB_ID of the task initiator |
| EXECUTOR_TENANT_ID | varchar2(65536) | NO | The ID of the tenant whose backup needs to be performed. This is a tenant ID for the job-level backup. |
| PLUS_ARCHIVELOG | varchar2(4096) | NO | Specifies whether to enable the archive log fill in the cluster.
|
| BACKUP_TYPE | varchar2(4096) | NO | The backup type. Valid values:
|
| JOB_LEVEL | varchar2(4096) | NO | Indicates the level of the backup job. Valid values:
|
| ENCRYPTION_MODE | varchar2(4096) | YES | This column specifies the encryption mode and can have the following values:
Currently, only None and Password modes are supported. |
| PASSWD | VARCHAR2(4096) | YES | Password. |
| START_TIMESTAMP | VARCHAR2(256) | NO | The start time of the job-level backup task. |
| END_TIMESTAMP | VARCHAR2(256) | NO | The end time of the job-level backup task. |
| STATUS | VARCHAR2(4096) | NO | The backup status. |
| RESULT | NUMBER(38) | NO | The backup error code result. |
| COMMENT | VARCHAR2(4096) | YES | The description of the error code. |
| DESCRIPTION | VARCHAR2(4096) | YES | The user-specified backup description. |
| PATH | VARCHAR2(4096) | YES | The backup path. |
Sample query
A user tenant can view the backup jobs of its own tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_BACKUP_JOBS\G
The query results are as follows:
*************************** 1. row ***************************
JOB_ID: 1
INCARNATION: 1
BACKUP_SET_ID: 1
INITIATOR_TENANT_ID: 1004
INITIATOR_JOB_ID: 0
EXECUTOR_TENANT_ID: 1004
PLUS_ARCHIVELOG: OFF
BACKUP_TYPE: FULL
JOB_LEVEL: USER_TENANT
ENCRYPTION_MODE: NONE
PASSWD: NULL
START_TIMESTAMP: 2025-06-05 10:07:30
END_TIMESTAMP: NULL
STATUS: DOING
RESULT: 0
COMMENT: NULL
DESCRIPTION: NULL
PATH: file:///home/admin/oceanbase/backupdataoracle
1 row in set
References
View the historical records of backup tasks at the job level for the current tenant: DBA_OB_BACKUP_JOB_HISTORY
View Task-level backup tasks for the current tenant: DBA_OB_BACKUP_TASKS
For the task-level backup history of the current tenant: DBA_OB_BACKUP_TASK_HISTORY
For more information about how to view the details of data backup progress, see View the details of data backup progress.
