YugabyteDB Continuous Backup API

CRUD operations for Continuous YBA Backups

Operations 5

GET /customers/{cUUID}/auto-yba-backups Get Continuous Backup #
POST /customers/{cUUID}/auto-yba-backups Create Continous Backup #
POST /customers/{cUUID}/auto-yba-backups/restore Restore Continuous Backup #
DELETE /customers/{cUUID}/auto-yba-backups/{bUUID} Delete Continuous Backup config #
PUT /customers/{cUUID}/auto-yba-backups/{bUUID} Edit Continuous Backup config #

Documentation

Specifications

Other Resources

🔗
CLI
https://github.com/yugabyte/ybm-cli
🔗
Integrations
https://github.com/yugabyte/terraform-provider-ybm
🔗
TermsOfService
https://www.yugabyte.com/yugabytedb-managed-service-terms/
🔗
SDKs
https://github.com/yugabyte/platform-go-client
🔗
Integrations
https://github.com/yugabyte/terraform-provider-yba
🔗
Integrations
https://github.com/yugabyte/yugabyte-k8s-operator
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybuniverse.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-backup.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-backup-schedule.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-restore-job.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-storage-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-dr-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-pitr-config.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-release.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-support-bundle.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybcertificate.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybprovider.yaml
🔗
KubernetesCRD
https://raw.githubusercontent.com/api-evangelist/yugabytedb/refs/heads/main/crd/yugabytedb-ybplatform.yaml

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/yugabytedb-continuous-backup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

yugabytedb-continuous-backup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yugabytedb Continuous Backup API
  version: v2
  contact:
    email: support@yugabyte.com
    name: YugabyteDB Anywhere Support
    url: https://docs.yugabyte.com
  license:
    name: Polyform Free Trial License 1.0.0
    url: https://github.com/yugabyte/yugabyte-db/blob/master/licenses/POLYFORM-FREE-TRIAL-LICENSE-1.0.0.txt
  description: 'Operations tagged Continuous Backup across 2 of this provider''s published API definitions: openapi.yaml, yugabytedb-anywhere-v2-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- description: API endpoint of YBA server
  url: '{protocol}://{host_port}/api/v2'
  variables:
    protocol:
      default: http
      enum:
      - http
      - https
    host_port:
      default: localhost:9000
tags:
- description: CRUD operations for Continuous YBA Backups
  name: Continuous Backup
paths:
  /customers/{cUUID}/auto-yba-backups:
    get:
      description: Get details of the continuous backup configuration
      operationId: GetContinuousBackup
      parameters:
      - description: Customer UUID
        explode: false
        in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContinuousBackup'
          description: Continuous Backup Config
        '400':
          description: Invalid input
        '500':
          description: Server error
      security:
      - apiKeyAuth: []
      summary: Get Continuous Backup
      tags:
      - Continuous Backup
      x-yba-api-audit:
        noAudit: true
      x-yba-api-authz:
      - requiredPermission:
          resourceType: other
          action: read
        resourceLocation:
          path: customers
          sourceType: endpoint
      x-yba-api-since: 2024.2.0.0
      x-yba-api-visibility: preview
      x-accepts:
      - application/json
    post:
      description: Create a continuous backup configuration
      operationId: CreateContinuousBackup
      parameters:
      - description: Customer UUID
        explode: false
        in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      requestBody:
        $ref: '#/components/requestBodies/ContinuousBackupCreateReq'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContinuousBackup'
          description: Continuous Backup Config
        '400':
          description: Invalid input
        '500':
          description: Server error
      security:
      - apiKeyAuth: []
      summary: Create Continous Backup
      tags:
      - Continuous Backup
      x-yba-api-audit:
        auditTargetType: ContinuousBackup
        auditTargetId: 'null'
        auditActionType: Create
      x-yba-api-authz:
      - requiredPermission:
          resourceType: other
          action: SUPER_ADMIN_ACTIONS
        resourceLocation:
          path: customers
          sourceType: endpoint
      x-yba-api-since: 2024.2.0.0
      x-yba-api-visibility: preview
      x-content-type: application/json
      x-accepts:
      - application/json
    servers:
    - description: API endpoint of YBA server
      url: '{protocol}://{host_port}/api/v2'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        host_port:
          default: localhost:9000
  /customers/{cUUID}/auto-yba-backups/restore:
    post:
      description: Restore a backup from a continuous backup configuration
      operationId: RestoreContinuousBackup
      parameters:
      - description: Customer UUID
        explode: false
        in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      requestBody:
        $ref: '#/components/requestBodies/ContinuousBackupRestoreReq'
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/YBATask'
          description: task accepted
        '400':
          description: Invalid input
        '500':
          description: Server error
      security:
      - apiKeyAuth: []
      summary: Restore Continuous Backup
      tags:
      - Continuous Backup
      x-yba-api-audit:
        auditTargetType: ContinuousBackup
        auditTargetId: 'null'
        auditActionType: Restore
      x-yba-api-authz:
      - requiredPermission:
          resourceType: other
          action: SUPER_ADMIN_ACTIONS
        resourceLocation:
          path: customers
          sourceType: endpoint
      x-yba-api-since: 2024.2.0.0
      x-yba-api-visibility: preview
      x-content-type: application/json
      x-accepts:
      - application/json
    servers:
    - description: API endpoint of YBA server
      url: '{protocol}://{host_port}/api/v2'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        host_port:
          default: localhost:9000
  /customers/{cUUID}/auto-yba-backups/{bUUID}:
    delete:
      description: Delete continuous backup config
      operationId: DeleteContinuousBackup
      parameters:
      - description: Customer UUID
        explode: false
        in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      - description: Continuous Backup UUID
        explode: false
        in: path
        name: bUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContinuousBackup'
          description: Continuous Backup Config
        '400':
          description: Invalid input
        '500':
          description: Server error
      security:
      - apiKeyAuth: []
      summary: Delete Continuous Backup config
      tags:
      - Continuous Backup
      x-yba-api-audit:
        auditTargetType: ContinuousBackup
        auditTargetId: bUUID.toString()
        auditActionType: Edit
      x-yba-api-authz:
      - requiredPermission:
          resourceType: other
          action: SUPER_ADMIN_ACTIONS
        resourceLocation:
          path: customers
          sourceType: endpoint
      x-yba-api-since: 2024.2.0.0
      x-yba-api-visibility: preview
      x-accepts:
      - application/json
    put:
      description: Edit continuous backup config
      operationId: EditContinuousBackup
      parameters:
      - description: Customer UUID
        explode: false
        in: path
        name: cUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      - description: Continuous Backup UUID
        explode: false
        in: path
        name: bUUID
        required: true
        schema:
          format: uuid
          type: string
        style: simple
      requestBody:
        $ref: '#/components/requestBodies/ContinuousBackupCreateReq'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContinuousBackup'
          description: Continuous Backup Config
        '400':
          description: Invalid input
        '500':
          description: Server error
      security:
      - apiKeyAuth: []
      summary: Edit Continuous Backup config
      tags:
      - Continuous Backup
      x-yba-api-audit:
        auditTargetType: ContinuousBackup
        auditTargetId: bUUID.toString()
        auditActionType: Edit
      x-yba-api-authz:
      - requiredPermission:
          resourceType: other
          action: SUPER_ADMIN_ACTIONS
        resourceLocation:
          path: customers
          sourceType: endpoint
      x-yba-api-since: 2024.2.0.0
      x-yba-api-visibility: preview
      x-content-type: application/json
      x-accepts:
      - application/json
    servers:
    - description: API endpoint of YBA server
      url: '{protocol}://{host_port}/api/v2'
      variables:
        protocol:
          default: http
          enum:
          - http
          - https
        host_port:
          default: localhost:9000
components:
  schemas:
    TimeUnitType:
      description: 'TimeUnitType


        Time units that correspond to TimeUnit.java enum. Used for variable frequencies.

        '
      enum:
      - NANOSECONDS
      - MICROSECONDS
      - MILLISECONDS
      - SECONDS
      - MINUTES
      - HOURS
      - DAYS
      - MONTHS
      - YEARS
      title: TimeUnitType
      type: string
    YBATask:
      description: 'YBATask


        YugabyteDB Anywhere Task object is used to represent a task that is being executed on a resource. This Task object can be polled for progress and status of the task. This object is returned as a response to most of the YugabyteDB Anywhere API calls.

        '
      example:
        resource_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
        task_uuid: 89a46d52-4edd-4736-922a-35177a0b990c
      properties:
        resource_uuid:
          description: UUID of the resource being modified by the task
          example: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          format: uuid
          readOnly: true
          type: string
        task_uuid:
          description: Task UUID
          example: 89a46d52-4edd-4736-922a-35177a0b990c
          format: uuid
          readOnly: true
          type: string
      title: YBATask
      type: object
    ContinuousBackup:
      description: 'ContinuousBackup


        Continuous Backup object which contains the info for a configuration.

        '
      example:
        spec:
          frequency_time_unit: NANOSECONDS
          backup_dir: yba_backups
          storage_config_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          num_backups: 6
          frequency: 0
        info:
          storage_location: s3://backup_storage_path/YBA_1.2.3.4
          uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          last_backup: 2022-12-12 13:07:18+00:00
      properties:
        info:
          $ref: '#/components/schemas/ContinuousBackupInfo'
        spec:
          $ref: '#/components/schemas/ContinuousBackupSpec'
      title: ContinuousBackup
      type: object
    ContinuousBackupSpec:
      description: 'ContinuousBackupSpec


        User specification for a continuous backup of YBA. All these properties can be edited.

        '
      example:
        frequency_time_unit: NANOSECONDS
        backup_dir: yba_backups
        storage_config_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
        num_backups: 6
        frequency: 0
      properties:
        storage_config_uuid:
          description: UUID of the storage config to use
          example: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          format: uuid
          readOnly: false
          type: string
        frequency:
          description: Interval between two backups.
          format: int64
          type: integer
        frequency_time_unit:
          $ref: '#/components/schemas/TimeUnitType'
        num_backups:
          default: 5
          description: The number of historical backups to retain in the storage bucket.
          format: int32
          type: integer
        backup_dir:
          description: The name of the directory in the storage config to use for YBA backups.
          example: yba_backups
          type: string
      required:
      - backup_dir
      - frequency
      - frequency_time_unit
      - storage_config_uuid
      title: ContinuousBackupSpec
      type: object
    ContinuousBackupInfo:
      description: 'ContinuousBackupInfo


        These are read-only system generated properties of a continuous backup configuration. Returned as part of the Continuous Backup resource.

        '
      example:
        storage_location: s3://backup_storage_path/YBA_1.2.3.4
        uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
        last_backup: 2022-12-12 13:07:18+00:00
      properties:
        uuid:
          description: UUID of the Continuous Backup Config
          example: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          format: uuid
          readOnly: true
          type: string
        storage_location:
          description: bucket or directory where backups are stored
          example: s3://backup_storage_path/YBA_1.2.3.4
          readOnly: true
          type: string
        last_backup:
          description: time of last backup stored
          example: 2022-12-12 13:07:18+00:00
          format: date-time
          readOnly: true
          type: string
      required:
      - uuid
      title: ContinuousBackupInfo
      type: object
    ContinuousRestoreSpec:
      description: 'ContinuousRestoreSpec


        Continuous Backup Restore time properties. Used to Restore from continuous backup configuration.

        '
      example:
        backup_dir: YBA.1.2.3.4
        storage_config_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
      properties:
        storage_config_uuid:
          description: UUID of the storage config to use
          example: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          format: uuid
          readOnly: false
          type: string
        backup_dir:
          description: The name of the directory to restore the most recent back from.
          example: YBA.1.2.3.4
          type: string
      required:
      - backup_dir
      - storage_config_uuid
      title: ContinuousRestoreSpec
      type: object
    ContinuousBackupSpec_2:
      description: 'ContinuousBackupSpec


        User specification for a continuous backup of YBA. All these properties can be edited.

        '
      example:
        frequency_time_unit: NANOSECONDS
        backup_dir: yba_backups
        storage_config_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
        num_backups: 6
        frequency: 0
      properties:
        storage_config_uuid:
          description: UUID of the storage config to use
          example: f33e3c9b-75ab-4c30-80ad-cba85646ea39
          format: uuid
          readOnly: false
          type: string
        frequency:
          description: Interval between two backups.
          format: int64
          type: integer
          example: 1000
        frequency_time_unit:
          $ref: '#/components/schemas/TimeUnitType'
        num_backups:
          default: 5
          description: The number of historical backups to retain in the storage bucket.
          format: int32
          type: integer
          example: 5
        backup_dir:
          description: The name of the directory in the storage config to use for YBA backups.
          example: yba_backups
          type: string
      required:
      - backup_dir
      - frequency
      - frequency_time_unit
      - storage_config_uuid
      title: ContinuousBackupSpec
      type: object
  requestBodies:
    ContinuousBackupRestoreReq:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContinuousRestoreSpec'
      required: true
    ContinuousBackupCreateReq:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContinuousBackupSpec'
      required: true
    ContinuousBackupRestoreReq_2:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContinuousRestoreSpec'
          examples:
            ContinuousBackupRestoreReqExample:
              summary: Default ContinuousBackupRestoreReq request
              x-microcks-default: true
              value:
                backup_dir: YBA.1.2.3.4
                storage_config_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
      required: true
    ContinuousBackupCreateReq_2:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ContinuousBackupSpec_2'
          examples:
            ContinuousBackupCreateReqExample:
              summary: Default ContinuousBackupCreateReq request
              x-microcks-default: true
              value:
                frequency_time_unit: NANOSECONDS
                backup_dir: yba_backups
                storage_config_uuid: f33e3c9b-75ab-4c30-80ad-cba85646ea39
                num_backups: 6
                frequency: 0
      required: true
  securitySchemes:
    apiKeyAuth:
      in: header
      name: X-AUTH-YW-API-TOKEN
      type: apiKey
x-refined-from:
- openapi.yaml
- yugabytedb-anywhere-v2-openapi.yaml