Automate Appliance Backup - HewlettPackard/POSH-HPEOneView GitHub Wiki

How to Automate an HP OneView Appliance Backup with PowerShell

This document will walk you through on how to setup a Scheduled Task within Windows to help automate the backup of an HP OneView Appliance.

  1. First, open the Task Schedule MMC console, and select Create Basic Task
  2. Provide a Task Name, and include a description if you need.
  3. Specify the backup task execution interval/trigger.
  4. Leave the default
    Start a Program
    selected, then paste the following into the
    Program/Script
    field:
``` %WinDir%\System32\WindowsPowerShell\v1.0\powershell.exe -command "& C:\HPOneView_Backup\appliance_backup.ps1 C:\HPOneView_Backup" C:\HPOneView_Backup ```

NOTE: Replace C:\HPOneView_Backup with the directory location where you wish to store and execute the Appliance_Backup.ps1 script and where the appliance backup file will be saved to.


  1. When prompted, select Yes to continue.
  2. Click Finish to complete the configuration of the new Scheduled Task.

Alternatively, you can download the OneView_Appliance_Backup.xml exported Scheduled Task and Import it into the Task Scheduler console.

⚠️ **GitHub.com Fallback** ⚠️