HP Insight Control Server Provisioning 7.3 Update 1 Administrator Guide
OutputParametersDescriptionFunction
password: the password
obtained from query-user
function.
hostname: the address of
the appliance to send the
login request to.
uploadResponse: the
response body for the
filePath: The absolute file
path to the backup file.
Uploads the designated
backup file to the remote
appliance.
uploadTo-appliance
upload request, which
authInfo: The session ID
from the login response.
contains the backup ID to be
restored.
hostname: The address of
the appliance to upload the
file to.
backupFile: The name of
the file being uploaded.
restoreResponse: The
response body from the
authInfo: The session ID
from the login response.
Sends the request to restore
the appliance from the
backup.
start-restore
restore request, which
hostname: The address of
the remote appliance to
send the request to.
contains the ID of the
ongoing restore.
uploadResponse: The
response body of the upload
request.
N.A.authInfo: the session ID
obtained from the login
request.
Checks the appliance for the
status of the ongoing restore.
Displays a progress status
bar.
restore-status
hostname: the address of
the remote appliance to
send the request to.
restoreResponse: The
response body from the
restore request.
recoveredUri: The full
URI needed to get restore
status (only used when
opening the script with the
status flag).
Returns the URI of the last or
ongoing restore.
hostname: The remote
appliance to send the
request to.
Used for when the
connection is interrupted or
the script closed. Sends a
request to the server to get
recover-restoreID
the URI of the ongoing
restore task, and then passes
the information to
restore-status.
Troubleshooting Tips
The following table contains REST API error codes and resolutions.
ResolutionDescriptionResponse body error codeHTTP error
Specify a valid backup ID. It must
be in the form
An invalid backup ID
was specified.
INVALID_PARAMETER400 Bad Request
56 Backing up and restoring your appliance