Cloudpepper Backup Schedules API

The Backup Schedules API from Cloudpepper — 2 operation(s) for backup schedules.

GitHub OpenAPI

Operations 4

GET /instances/{instanceId}/backup-schedules List instance backup schedules #
POST /instances/{instanceId}/backup-schedules Add a backup schedule #
PATCH /instances/{instanceId}/backup-schedules/{id} Update a backup schedule #
DELETE /instances/{instanceId}/backup-schedules/{id} Delete a backup schedule #

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/cloudpepper-io:cloudpepper-io-backup-schedules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

cloudpepper-io-backup-schedules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudpepper Io Backup Schedules API
  version: 1.0.0
  description: 'Operations tagged Backup Schedules across 2 of this provider''s published API definitions: cloudpepper-io-openapi.json, cloudpepper-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.cloudpepper.io
  description: Resolved from the published relative server "/" against the host serving the spec (https://api.cloudpepper.io/openapi.json)
security:
- bearerAuth: []
tags:
- name: Backup Schedules
paths:
  /instances/{instanceId}/backup-schedules:
    parameters:
    - name: instanceId
      in: path
      description: Instance ID
      required: true
      schema:
        type: string
        format: uuid
    get:
      tags:
      - Backup Schedules
      summary: List instance backup schedules
      operationId: app_backupschedule_get
      responses:
        '200':
          description: Backups schedules retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      description: ID
                      example: -Nn9lptXLlXX7jCXcQo4
                    instanceId:
                      type: string
                      format: uuid
                      description: Instance ID
                      example: 00000000-0000-0000-0000-000000000000
                    schedule:
                      type: string
                      description: 'Cron expression defining when the backup should run. Format: ''minute hour day-of-month month day-of-week''.


                        Supported special values:

                        - @monthly: Run once a month, first day at midnight (''00 00 1 * *'')

                        - @weekly: Run once a week, Sunday at midnight (''00 00 * * 0'')

                        - @daily, @midnight: Run once a day at midnight (''00 00 * * *'')

                        - @hourly: Run once an hour at the start of the hour (''00 * * * *'')


                        Supported interval patterns:

                        - ''00 */12 * * *'': Run every 12 hours

                        - ''00 */6 * * *'': Run every 6 hours

                        - ''00 */3 * * *'': Run every 3 hours


                        Standard cron examples:

                        - ''00 08 * * *'': Run daily at 8:00 AM (UTC)

                        - ''00 20 * * *'': Run daily at 8:00 PM (UTC)

                        - ''00 00 1 * *'': Run at midnight on the first day of each month

                        - ''00 00 * * 0'': Run at midnight on Sunday'
                      example: 00 08 * * *
                    retention:
                      type: integer
                      description: 'Number of days to retain the backup. Common values: 7 (one week), 30 (one month), 90 (three months), 365 (one year).'
                      example: 31
                    providerId:
                      type: string
                      format: uuid
                      description: Optional ID of a specific backup provider to use. If not specified, the default provider will be used.
                      example: 550e8400-e29b-41d4-a716-446655440000
              example:
              - id: -Nn9lptXLlXX7jCXcQo4
                instanceId: 00000000-0000-0000-0000-000000000000
                providerId: null
                retention: 31
                schedule: '@daily'
        '403':
          description: Insufficient permissions (requires admin privileges)
      security:
      - bearerAuth: []
    post:
      tags:
      - Backup Schedules
      summary: Add a backup schedule
      description: 'Creates a new backup schedule for an Odoo instance. Backup schedules automate the process of creating regular backups according to your specified cron schedule and retention policy. This endpoint allows you to configure when backups should occur and how long they should be kept.


        **Key Parameters:**

        - `instanceId`: The unique identifier of the instance for which to create the backup schedule

        - `schedule`: Cron expression defining when the backup should run (e.g., ''00 08 * * *'' for daily at 8:00 AM UTC)

        - Format: ''minute hour day-of-month month day-of-week''

        - Special values supported:

        - ''@monthly'' or ''00 00 1 * *'' (first day of month at midnight)

        - ''@weekly'' or ''00 00 * * 0'' (Sunday at midnight)

        - ''@daily'', ''@midnight'' or ''00 00 * * *'' (daily at midnight)

        - ''@hourly'' or ''00 * * * *'' (hourly at minute 00)

        - Interval patterns supported:

        - ''00 */12 * * *'' (every 12 hours)

        - ''00 */6 * * *'' (every 6 hours)

        - ''00 */3 * * *'' (every 3 hours)

        - `retention`: Number of days to retain backups before automatic deletion (common values: 7 for one week, 30 for one month, 90 for three months, 365 for one year)

        - `providerId`: Optional ID of a specific backup provider to use (if not specified, the default provider will be used)


        **NOTE:** Multiple backup schedules can be created for a single instance with different schedules or retention policies. For example, you might want daily backups with a 7-day retention alongside weekly backups with a 30-day retention.'
      operationId: app_backupschedule_add
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                schedule:
                  type: string
                  description: 'Cron expression defining when the backup should run. Format: ''minute hour day-of-month month day-of-week''.


                    Supported special values:

                    - @monthly: Run once a month, first day at midnight (''00 00 1 * *'')

                    - @weekly: Run once a week, Sunday at midnight (''00 00 * * 0'')

                    - @daily, @midnight: Run once a day at midnight (''00 00 * * *'')

                    - @hourly: Run once an hour at the start of the hour (''00 * * * *'')


                    Supported interval patterns:

                    - ''00 */12 * * *'': Run every 12 hours

                    - ''00 */6 * * *'': Run every 6 hours

                    - ''00 */3 * * *'': Run every 3 hours


                    Standard cron examples:

                    - ''00 08 * * *'': Run daily at 8:00 AM (UTC)

                    - ''00 20 * * *'': Run daily at 8:00 PM (UTC)

                    - ''00 00 1 * *'': Run at midnight on the first day of each month

                    - ''00 00 * * 0'': Run at midnight on Sunday'
                  example: 00 08 * * *
                retention:
                  type: integer
                  description: 'Number of days to retain the backup. Common values: 7 (one week), 30 (one month), 90 (three months), 365 (one year).'
                  example: 7
                providerId:
                  type: string
                  format: uuid
                  description: Optional ID of a specific backup provider to use. If not specified, the default provider will be used.
                  example: 550e8400-e29b-41d4-a716-446655440000
              required:
              - schedule
              - retention
      responses:
        '200':
          description: Backup schedule created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  key:
                    type: string
                    format: uuid
                    description: Unique identifier for the created backup schedule
              example:
                key: 123e4567-e89b-12d3-a456-426614174000
        '403':
          description: Insufficient permissions
        '404':
          description: Instance not found
      security:
      - bearerAuth: []
    servers:
    - url: /
  /instances/{instanceId}/backup-schedules/{id}:
    parameters:
    - name: instanceId
      in: path
      description: Instance ID
      required: true
      schema:
        type: string
        format: uuid
    - name: id
      in: path
      description: Backup schedule ID
      required: true
      schema:
        type: string
    patch:
      tags:
      - Backup Schedules
      summary: Update a backup schedule
      description: 'Modifies an existing backup schedule for an instance. This allows you to change the backup frequency, retention policy, or assigned backup provider without removing and recreating the schedule. Only the fields you specify will be updated; other fields will retain their current values.


        **Key Parameters:**

        - `instanceId`: The unique identifier of the instance containing the backup schedule

        - `id`: The unique identifier of the backup schedule to update

        - `schedule`: Optional new cron expression defining when the backup should run

        - Format: ''minute hour day-of-month month day-of-week'' (e.g., ''00 08 * * *'' for daily at 8:00 AM UTC)

        - Special values supported:

        - ''@monthly'' or ''00 00 1 * *'' (first day of month at midnight)

        - ''@weekly'' or ''00 00 * * 0'' (Sunday at midnight)

        - ''@daily'', ''@midnight'' or ''00 00 * * *'' (daily at midnight)

        - ''@hourly'' or ''00 * * * *'' (hourly at minute 00)

        - Interval patterns supported:

        - ''00 */12 * * *'' (every 12 hours)

        - ''00 */6 * * *'' (every 6 hours)

        - ''00 */3 * * *'' (every 3 hours)

        - `retention`: Optional new retention period in days

        - `providerId`: Optional new backup provider ID


        **NOTE:** You can update any combination of the available fields. For example, you can change just the retention period while keeping the same schedule, or update both the schedule and provider while keeping the same retention policy.'
      operationId: app_backupschedule_update
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                schedule:
                  type: string
                  description: 'New cron expression defining when the backup should run. Format: ''minute hour day-of-month month day-of-week''. Also supports special values like @daily, @weekly, @monthly.'
                  example: 00 08 * * 5
                retention:
                  type: integer
                  description: New retention period in days
                  example: 30
                providerId:
                  type:
                  - string
                  - 'null'
                  format: uuid
                  description: New backup provider ID (or null to use the default provider)
                  example: 550e8400-e29b-41d4-a716-446655440000
            examples:
              Update schedule only:
                value:
                  schedule: 00 08 * * 5
              Update retention only:
                value:
                  retention: 30
              Update provider only:
                value:
                  providerId: 550e8400-e29b-41d4-a716-446655440000
              Update all fields:
                value:
                  schedule: 00 00 1 * *
                  retention: 90
                  providerId: 550e8400-e29b-41d4-a716-446655440000
              Use default provider:
                value:
                  providerId: null
        required: true
      responses:
        '200':
          description: Backup schedule updated successfully
        '403':
          description: Insufficient permissions
        '404':
          description: Instance or backup schedule not found
      security:
      - bearerAuth: []
    delete:
      tags:
      - Backup Schedules
      summary: Delete a backup schedule
      description: 'Permanently removes a backup schedule from an instance. This stops future automatic backups from being created according to this schedule. Optionally, you can also delete all existing backups that were created by this schedule.


        **Key Parameters:**

        - `instanceId`: The unique identifier of the instance containing the backup schedule

        - `id`: The unique identifier of the backup schedule to delete

        - `deleteBackups`: Optional query parameter (boolean) to also delete all backups created by this schedule


        **NOTE:** If `deleteBackups=true` is specified, all backups associated with this schedule will be permanently deleted. This operation cannot be undone, so use this option with caution.'
      operationId: app_backupschedule_delete
      parameters:
      - name: deleteBackups
        in: query
        description: Also delete all backups created by this schedule
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Backup schedule deleted successfully
        '403':
          description: Insufficient permissions
        '404':
          description: Instance or backup schedule not found
      security:
      - bearerAuth: []
    servers:
    - url: /
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- cloudpepper-io-openapi.json
- cloudpepper-io-openapi.yml