Restore a backup
backups_restoreRestore a restore point. replace: stops the deployment, puts every file back, starts it again if it was running. subfolder: copies the files into /restored-/ without stopping anything. Runs in the background: poll backups.list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"backupId": "<backupId>",
"mode": "<mode>"
},
"name": "backups_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mode | Yes | replace | |
| paths | No | subfolder only: the paths to bring back, relative to the volume | |
| backupId | Yes |