hmc_restore_vios
Restore a VIOS from a named backup via HMC CLI, overwriting its current configuration. Requires the VIOS UUID and backup file name.
Instructions
Restore a VIOS from a named backup via the HMC CLI.
Runs chviosbackup -id <vios_uuid> -operation restore -file <backup_name>
on the HMC via SSH. vios_uuid is the VIOS UUID (from hmc_vios);
backup_name is the backup file name as listed by hmc_list_vios_backups.
WARNING: Restoring overwrites the current VIOS configuration. Confirm the vios_uuid and backup_name before calling.
Returns the raw HMC CLI output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vios_uuid | Yes | ||
| backup_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |