Scaleway · Capability

Managed Database for PostgreSQL and MySQL API — Backups

Managed Database for PostgreSQL and MySQL API — Backups. 7 operations. Lead operation: List database backups. Self-contained Naftiko capability covering one Scaleway business surface.

Run with Naftiko ScalewayBackups

What You Can Do

GET
Listdatabasebackups — List database backups
/v1/rdb/v1/regions/{region}/backups
POST
Createdatabasebackup — Create a database backup
/v1/rdb/v1/regions/{region}/backups
GET
Getdatabasebackup — Get a database backup
/v1/rdb/v1/regions/{region}/backups/{database-backup-id}
PATCH
Updatedatabasebackup — Update a database backup
/v1/rdb/v1/regions/{region}/backups/{database-backup-id}
DELETE
Deletedatabasebackup — Delete a database backup
/v1/rdb/v1/regions/{region}/backups/{database-backup-id}
POST
Exportdatabasebackup — Export a database backup
/v1/rdb/v1/regions/{region}/backups/{database-backup-id}/export
POST
Restoredatabasebackup — Restore a database backup
/v1/rdb/v1/regions/{region}/backups/{database-backup-id}/restore

MCP Tools

list-database-backups

List database backups

read-only idempotent
create-database-backup

Create a database backup

get-database-backup

Get a database backup

read-only idempotent
update-database-backup

Update a database backup

idempotent
delete-database-backup

Delete a database backup

idempotent
export-database-backup

Export a database backup

restore-database-backup

Restore a database backup

Capability Spec

database-backups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Managed Database for PostgreSQL and MySQL API — Backups
  description: 'Managed Database for PostgreSQL and MySQL API — Backups. 7 operations. Lead operation: List database backups.
    Self-contained Naftiko capability covering one Scaleway business surface.'
  tags:
  - Scaleway
  - Backups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SCALEWAY_API_KEY: SCALEWAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: database-backups
    baseUri: https://api.scaleway.com
    description: Managed Database for PostgreSQL and MySQL API — Backups business capability. Self-contained, no shared references.
    resources:
    - name: rdb-v1-regions-region-backups
      path: /rdb/v1/regions/{region}/backups
      operations:
      - name: listdatabasebackups
        method: GET
        description: List database backups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: name
          in: query
          type: string
          description: Name of the database backups.
        - name: order_by
          in: query
          type: string
          description: Criteria to use when ordering database backups listing.
        - name: instance_id
          in: query
          type: string
          description: UUID of the Database Instance.
        - name: organization_id
          in: query
          type: string
          description: Organization ID of the Organization the database backups belong to.
        - name: project_id
          in: query
          type: string
          description: Project ID of the Project the database backups belong to.
        - name: page
          in: query
          type: string
        - name: page_size
          in: query
          type: integer
      - name: createdatabasebackup
        method: POST
        description: Create a database backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rdb-v1-regions-region-backups-database_backup_id
      path: /rdb/v1/regions/{region}/backups/{database_backup_id}
      operations:
      - name: getdatabasebackup
        method: GET
        description: Get a database backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: database_backup_id
          in: path
          type: string
          description: UUID of the database backup.
          required: true
      - name: updatedatabasebackup
        method: PATCH
        description: Update a database backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: database_backup_id
          in: path
          type: string
          description: UUID of the database backup to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedatabasebackup
        method: DELETE
        description: Delete a database backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: database_backup_id
          in: path
          type: string
          description: UUID of the database backup to delete.
          required: true
    - name: rdb-v1-regions-region-backups-database_backup_id-export
      path: /rdb/v1/regions/{region}/backups/{database_backup_id}/export
      operations:
      - name: exportdatabasebackup
        method: POST
        description: Export a database backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: database_backup_id
          in: path
          type: string
          description: UUID of the database backup you want to export.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rdb-v1-regions-region-backups-database_backup_id-restore
      path: /rdb/v1/regions/{region}/backups/{database_backup_id}/restore
      operations:
      - name: restoredatabasebackup
        method: POST
        description: Restore a database backup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: region
          in: path
          type: string
          description: The region you want to target
          required: true
        - name: database_backup_id
          in: path
          type: string
          description: Backup of a logical database.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Auth-Token
      value: '{{env.SCALEWAY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: database-backups-rest
    port: 8080
    description: REST adapter for Managed Database for PostgreSQL and MySQL API — Backups. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/rdb/v1/regions/{region}/backups
      name: rdb-v1-regions-region-backups
      description: REST surface for rdb-v1-regions-region-backups.
      operations:
      - method: GET
        name: listdatabasebackups
        description: List database backups
        call: database-backups.listdatabasebackups
        with:
          region: rest.region
          name: rest.name
          order_by: rest.order_by
          instance_id: rest.instance_id
          organization_id: rest.organization_id
          project_id: rest.project_id
          page: rest.page
          page_size: rest.page_size
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdatabasebackup
        description: Create a database backup
        call: database-backups.createdatabasebackup
        with:
          region: rest.region
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/rdb/v1/regions/{region}/backups/{database-backup-id}
      name: rdb-v1-regions-region-backups-database-backup-id
      description: REST surface for rdb-v1-regions-region-backups-database_backup_id.
      operations:
      - method: GET
        name: getdatabasebackup
        description: Get a database backup
        call: database-backups.getdatabasebackup
        with:
          region: rest.region
          database_backup_id: rest.database_backup_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatedatabasebackup
        description: Update a database backup
        call: database-backups.updatedatabasebackup
        with:
          region: rest.region
          database_backup_id: rest.database_backup_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedatabasebackup
        description: Delete a database backup
        call: database-backups.deletedatabasebackup
        with:
          region: rest.region
          database_backup_id: rest.database_backup_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/rdb/v1/regions/{region}/backups/{database-backup-id}/export
      name: rdb-v1-regions-region-backups-database-backup-id-export
      description: REST surface for rdb-v1-regions-region-backups-database_backup_id-export.
      operations:
      - method: POST
        name: exportdatabasebackup
        description: Export a database backup
        call: database-backups.exportdatabasebackup
        with:
          region: rest.region
          database_backup_id: rest.database_backup_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/rdb/v1/regions/{region}/backups/{database-backup-id}/restore
      name: rdb-v1-regions-region-backups-database-backup-id-restore
      description: REST surface for rdb-v1-regions-region-backups-database_backup_id-restore.
      operations:
      - method: POST
        name: restoredatabasebackup
        description: Restore a database backup
        call: database-backups.restoredatabasebackup
        with:
          region: rest.region
          database_backup_id: rest.database_backup_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: database-backups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Managed Database for PostgreSQL and MySQL API — Backups. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-database-backups
      description: List database backups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: database-backups.listdatabasebackups
      with:
        region: tools.region
        name: tools.name
        order_by: tools.order_by
        instance_id: tools.instance_id
        organization_id: tools.organization_id
        project_id: tools.project_id
        page: tools.page
        page_size: tools.page_size
      outputParameters:
      - type: object
        mapping: $.
    - name: create-database-backup
      description: Create a database backup
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: database-backups.createdatabasebackup
      with:
        region: tools.region
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-database-backup
      description: Get a database backup
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: database-backups.getdatabasebackup
      with:
        region: tools.region
        database_backup_id: tools.database_backup_id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-database-backup
      description: Update a database backup
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: database-backups.updatedatabasebackup
      with:
        region: tools.region
        database_backup_id: tools.database_backup_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-database-backup
      description: Delete a database backup
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: database-backups.deletedatabasebackup
      with:
        region: tools.region
        database_backup_id: tools.database_backup_id
      outputParameters:
      - type: object
        mapping: $.
    - name: export-database-backup
      description: Export a database backup
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: database-backups.exportdatabasebackup
      with:
        region: tools.region
        database_backup_id: tools.database_backup_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: restore-database-backup
      description: Restore a database backup
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: database-backups.restoredatabasebackup
      with:
        region: tools.region
        database_backup_id: tools.database_backup_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.