beautypg.com

5 back up an appliance, Prerequisites – HP OneView User Manual

Page 173

background image

the backup script to run automatically in interactive or batch mode on a regular basis. Only a user
with Backup administrator or Infrastructure administrator privileges can run the script interactively.

For more information, see

“Sample backup script” (page 291)

.

24.5 Back up an appliance

A backup file saves the configuration settings and management data for your appliance. You can
recover from a catastrophic failure by restoring your appliance from the backup file. For more
information, see

“About backing up the appliance” (page 171)

.

NOTE:

To reduce the size of the backup file and the time it takes to create it, the firmware bundles

you have uploaded to the appliance are not included in the backup file.

Prerequisites

Minimum required privileges: Infrastructure administrator or Backup administrator

You have completed all the

best practices for backing up an appliance

.

Backing up an appliance

1.

From the Settings screen, select Actions

→Create backup.

While the backup file is being created, a progress bar appears in the Overview pane.

Wait for the backup file creation to complete.

2.

Optionally, click the Create backup notification banner for more information and the name of
the backup file, which has the format:

appliance-host-name_backup_yyyy-mm-dd_hhmmss.bkp

3.

After the backup file is created, select Actions

→Download backup to download the backup

file from the appliance.

4.

Save the backup file to an external location for safekeeping. Do not store it on the appliance.

24.6 Using REST APIs to create and download an appliance backup file

After the backup is initiated, a TaskResource URI is created that you use to track the progress
of the backup. When the backup is complete, you can use a GET REST API operation to download
and change the backup file name. The latest backup is stored on the appliance and is replaced
when a new backup is initiated.

Prerequisites

Minimum required session ID privileges: Backup administrator

Creating and downloading an appliance backup file using REST APIs

1.

Create the backup file.

POST /rest/backups

2.

Download the backup file.

GET /rest/backups/archive/{backup URI}

NOTE:

After the POST operation is complete, a TaskResource URI and backup URI are returned.

You can use the TaskResource URI to monitor the progress of the backup. Use the backup URI
to refer to a specific backup when downloading the backup file or performing another operation.

24.5 Back up an appliance

173