Maintenance operations
2 operations named maintenance.*. Every one runs in a batch through apply_ops, dry_run_ops, the CLI or the admin.
| Operation | What it does | Permission | Confirmation |
|---|---|---|---|
| maintenance.migrate | maintenance.migrate in one transaction; recovery uses an explicit backup restore. | site.admin | destructive |
| maintenance.restoreBackup | maintenance.restoreBackup in one transaction; recovery uses an explicit backup restore. | site.admin | destructive |
maintenance.migrate
maintenance.migrate in one transaction; recovery uses an explicit backup restore.
Example input
{}Input
The input is a record; see the schema below.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Output
| Field | Type | Required | Notes |
|---|---|---|---|
| auto | record of any JSON | null | yes |
Needs confirmed: ["destructive"] on the batch, which the single-operation CLI form does not set: put it in a batch file and run yarn splash apply <file> --dry-run.
maintenance.restoreBackup
maintenance.restoreBackup in one transaction; recovery uses an explicit backup restore.
Example input
{
"backupId": "backup-2026-10-16"
}Input
| Field | Type | Required | Notes |
|---|---|---|---|
| backupId | string | yes | At least 1 character. |
Output
| Field | Type | Required | Notes |
|---|---|---|---|
| success | true | yes | |
| restoredCount | integer | yes | At least 0. |
| pageCount | integer | yes | At least 0. |
Needs confirmed: ["destructive"] on the batch, which the single-operation CLI form does not set: put it in a batch file and run yarn splash apply <file> --dry-run.
Generated from the operation registry and the MCP tool catalogue (source 833d278a47e09971).
Something wrong on this page? Write to docs@librettocms.com.