restore_backup
Restore virtual machines or containers from backup files in Proxmox VE clusters by specifying volume ID, target node, and guest type.
Instructions
Restore a VM or container from a backup file.
Args: volid: Volume ID of the backup (e.g. 'local:backup/vzdump-qemu-100-2024_03_04.vma.zst'). Use list_backups to find available backups. node: Target node for the restored guest. vmid: Optional VMID for the restored guest. Auto-assigned if not provided. storage_pool: Storage for restored disks (default 'local-lvm'). guest_type: Type of guest: 'vm' or 'container'. confirm: Must be true to execute. First call without confirm shows a warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volid | Yes | ||
| node | Yes | ||
| vmid | No | ||
| storage_pool | No | local-lvm | |
| guest_type | No | vm | |
| confirm | No |