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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basename | No | Optional backup file name, e.g. 'pb_backup_2024.zip' (auto-generated if omitted). |