hmc_backup_vios
Creates VIOS backups via the HMC CLI, running chviosbackup over SSH. Supports full VIOS configuration, I/O configuration, and Shared Storage Pool backups.
Instructions
Create a VIOS backup via the HMC CLI.
Runs chviosbackup -id <vios_uuid> -operation backup -type <backup_type>
on the HMC via SSH. vios_uuid is the VIOS UUID (from hmc_vios).
backup_type must be one of:
vios— full VIOS configuration backup (default)viosioconfig— I/O configuration backupssp— Shared Storage Pool (cluster) backup
Returns the raw HMC CLI output. Poll hmc_list_vios_backups to confirm the backup was created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vios_uuid | Yes | ||
| backup_type | No | vios |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |