restore_volume
Restore an entire P5 backup volume—all clients and paths—to an alternate directory. Preview the plan and confirm with its planId to start the job.
Instructions
EXPLICIT whole-volume restore: EVERYTHING on a P5 backup volume (all clients, all paths) goes to an alternate directory (RestoreSelection addfromvolume). Not for single files (use restore). Preview shows the volume, its used size, free space and a planId; confirm:true must pass that planId. Returns the job id.
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": {
"volume": "<volume>"
},
"name": "restore_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Absolute directory in the P5 container; default <restoreRoot>/<stamp> | |
| planId | No | planId printed by the preview; required with confirm:true. A changed destination or new conflicts make the call refuse and show the new plan | |
| volume | Yes | Backup volume id (see volumes / restore_lookup) | |
| confirm | No | Must be true to actually run (with planId) | |
| forceSync | No | Allow to:'original' inside a configured syncRoot | |
| onConflict | No | What to do when a destination file exists: refuse (default), rename (<name>.restored-YYYYMMDD; not for P5 volume restores) or overwrite |