BackupIOConfig_VirtualServer Job

The BackupIOConfig job initiates the backup of the config file by executing the viosbr command on the target Virtual I/O Server (VIOS). The job downloads the file to the Hardware Management Console (HMC) after the command is run successfully.

Resource

/rest/api/uom/VirtualIOServer/{VirtualIOServer_UUID}/do/BackupIOConfig

Request

Table 1. Request Parameters
Request parameter Description
FileName Name of the backup file that is saved in the HMC.
OverwriteFile Flag to indicate whether the existing file with the same name can be overwritten:
  • true: Overwrite the existing file
  • false: Do not overwrite the existing file and throw an error message to the user

Response

None

Sample Job Request(s)

 <JobRequest:JobRequest
 xmlns:JobRequest="http://www.ibm.com/xmlns/systems/power/firmware/web/mc/2012_10/"
 xmlns="http://www.ibm.com/xmlns/systems/power/firmware/web/mc/2012_10/"
 xmlns:ns2="http://www.w3.org/XML/1998/namespace/k2" schemaVersion="V1_1_0">
    <Metadata>
        <Atom/>
    </Metadata>
    <RequestedOperation kb="CUR" kxe="false" schemaVersion="V1_1_0">
        <Metadata>
            <Atom/>
        </Metadata>
        <OperationName kb="ROR" kxe="false">BackupIOConfig</OperationName>
        <GroupName kb="ROR" kxe="false">VirtualIOServer</GroupName>
    </RequestedOperation>
    <JobParameters kb="CUR" kxe="false" schemaVersion="V1_1_0">
        <Metadata>
            <Atom/>
        </Metadata>
        <JobParameter schemaVersion="V1_0">
		    <Metadata>
		        <Atom/>
		    </Metadata>
		    <ParameterName kb="ROR" kxe="false">FileName</ParameterName>
		    <ParameterValue kxe="false" kb="CUR">manju</ParameterValue>
		</JobParameter>
        <JobParameter schemaVersion="V1_0">
		    <Metadata>
		        <Atom/>
		    </Metadata>
		    <ParameterName kb="ROR" kxe="false">OverwriteFile</ParameterName>
		    <ParameterValue kxe="false" kb="CUR">true</ParameterValue>
		</JobParameter>
    </JobParameters>
</JobRequest:JobRequest>