OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.4.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.4.2
    iconOceanBase Database
    SQL - V 4.4.2
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    oceanbase.DBA_OB_BACKUP_JOBS

    Last Updated:2026-04-02 06:23:58  Updated
    Share
    What is on this page
    Purpose
    Columns
    Sample query
    References

    folded

    Share

    Note

    This view is available starting with V4.0.0.

    Purpose

    This view displays the backup tasks of the current tenant.

    Columns

    Column
    Column
    Nullable
    Description
    JOB_ID bigint(20) NO The ID of the backup job. A job record is generated for each backup operation.
    Column Type Nullable Description --- --- --- --- INCARNATION bigint(20) NO Indicates the number of incarnations for Flashback Database.
    BACKUP_SET_ID bigint(20) YES The ID of the backup set. For a SYS tenant, the value is 0. For a user tenant, it starts from 1 and is automatically incremented.
    INITIATOR_TENANT_ID bigint(20) NO The ID of the tenant that initiated the task. This corresponds to the tenant ID that executed the backup SQL command.
    INITIATOR_JOB_ID bigint(20) NO The job ID of the task initiator.
    EXECUTOR_TENANT_ID varchar(65536) NO The tenant ID that the backup executor belongs to.
    PLUS_ARCHIVELOG varchar(4096) NO Whether to enable log backfilling:
    • ON: Enable log backfilling
    • OFF: Disable log backfilling
    BACKUP_TYPE varchar(4096) NO Backup type:
    • FULL: Full backup.
    • INC: Incremental backup.
    JOB_LEVEL varchar(4096) NO The job level. Valid values:
    • CLUSTER: initiated by the sys tenant to back up all tenants
    • SYS_TENANT: initiated by the sys tenant to back up a specified tenant
    • USER_TENANT: initiated by a user tenant to back up itself
    ENCRYPTION_MODE varchar(4096) YES The encryption mode. Valid values: None, Password, Password Encryption, Transparent Encryption, and Dual mode Encryption. This field specifies the encryption method.
    • None: Data is not encrypted.
    • Password: Data is protected with a password only.
    • Password Encryption: Data is encrypted and protected with a password.
    • Transparent Encryption: Data is encrypted using transparent data encryption (TDE).
    • Dual mode Encryption: Data is encrypted using TDE and protected with a password.
    This view supports only the None and Password modes.
    Column Type Nullable Description --- --- --- --- PASSWD varchar(4096) YES Password.
    START_TIMESTAMP timestamp(6) NO The start time of the job-level backup task.
    END_TIMESTAMP timestamp(6) NO The end time of the job-level backup task.
    Column Type Nullable Description --- --- --- --- STATUS varchar(4096) NO Backup status
    COLUMN Type Nullable Description --- --- --- --- RESULT bigint(20) NO Backup error code result.
    COLUMN VARCHAR(4096) YES Description of the error code
    DESCRIPTION varchar(4096) YES User-specified backup description
    Column Type Nullable Description --- --- --- --- PATH varchar(4096) YES The backup path.

    Sample query

    A user tenant can view backup tasks of this tenant.

    obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_BACKUP_JOBS\G
    

    The query result is as follows:

    *************************** 1. row ***************************
                 JOB_ID: 2
            INCARNATION: 1
          BACKUP_SET_ID: 2
    INITIATOR_TENANT_ID: 1002
       INITIATOR_JOB_ID: 0
     EXECUTOR_TENANT_ID: 1002
        PLUS_ARCHIVELOG: OFF
            BACKUP_TYPE: FULL
              JOB_LEVEL: USER_TENANT
        ENCRYPTION_MODE: NONE
                 PASSWD:
        START_TIMESTAMP: 2025-01-07 14:24:12.797543
          END_TIMESTAMP: NULL
                 STATUS: DOING
                 RESULT: 0
                COMMENT:
            DESCRIPTION:
                   PATH: file:///home/admin/oceanbase/backupdata
    1 row in set
    

    References

    • View the backup task history for its own tenant: DBA_OB_BACKUP_JOB_HISTORY

    • View task-level backup tasks of the current tenant: DBA_OB_BACKUP_TASKS

    • Query your own task-level backup history: DBA_OB_BACKUP_TASK_HISTORY

    • For more information about how to view the progress of data backup, see View the progress of data backup.

    Previous topic

    oceanbase.DBA_OB_BACKUP_JOB_HISTORY
    Last

    Next topic

    oceanbase.DBA_OB_BACKUP_PARAMETER
    Next
    What is on this page
    Purpose
    Columns
    Sample query
    References