hmc_backup_lpar_profiles
Back up all LPAR profiles of an IBM Power managed system to a specified file path on the HMC using the bkprofdata command.
Instructions
Backup all LPAR profiles on a Power system via the HMC CLI.
Runs bkprofdata -m <system_name> -f <file_path> on the HMC via SSH
and returns the raw command output.
The system may be given by CLI name or by UUID; a UUID is resolved to its CLI name via REST (falling back to an lssyscfg lookup over SSH when the REST API is unreachable) before the command runs.
IMPORTANT: file_path is on the HMC filesystem, not the local machine. The backup file will be created at that path on the HMC host.
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": {
"system_name_or_uuid": "<system_name_or_uuid>",
"file_path": "<file_path>"
},
"name": "hmc_backup_lpar_profiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path on the HMC filesystem where the backup file will be saved. | |
| system_name_or_uuid | Yes | The name or UUID of the managed system (Power server). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |