Back to home
Connect a client

Create a backup schedule

Configure a WordPress or supported database backup using the permitted storage destination. Database backups require databaseId. Retention follows the organisation's plan.

Arguments

NameTypeRequiredLimits
type"database" | "wordpress"YesSee schema
databaseIdstringNoAt least 1 character(s)
schedulestringYesAt least 1 character(s)
prefixstringNoSee schema
destinationIdstringNoAt least 1 character(s)
projectIdstringYesAt least 1 character(s)
Full input schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "database",
        "wordpress"
      ]
    },
    "databaseId": {
      "type": "string",
      "minLength": 1
    },
    "schedule": {
      "type": "string",
      "minLength": 1
    },
    "prefix": {
      "type": "string"
    },
    "destinationId": {
      "type": "string",
      "minLength": 1
    },
    "projectId": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "projectId",
    "type",
    "schedule"
  ],
  "additionalProperties": false
}

Example call

The params of a tools/call request. Replace the placeholder values with your own IDs.

{
  "name": "createBackupPolicy",
  "arguments": {
    "projectId": "REPLACE_WITH_PROJECT_ID",
    "type": "database",
    "schedule": "0 2 * * *",
    "databaseId": "REPLACE_WITH_DATABASE_ID"
  }
}

Result

The same data as the API operation, wrapped as {"untrusted_data": true, "source": "createBackupPolicy", "note": "...", "data": ...} so the model treats project content as data, not instructions.