Create backup
create_backupCreate a zip snapshot of the PocketBase database and storage. Specify an optional backup filename, or let it auto-generate a timestamped name. Requires superuser access.
Instructions
Create a new backup (zip snapshot of the database and storage). If basename is omitted, PocketBase auto-generates a timestamped name. Returns the backup name. Superuser only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basename | No | Optional backup file name, e.g. 'pb_backup_2024.zip' (auto-generated if omitted). |