Save HPOVBackup - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Save-HPOVBackup

Save existing backups on an appliance.

SYNTAX

Save-HPOVBackup[ [-Location] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Save-HPOVBackup [-SaveRemoteOnly] <SwitchParameter>[ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

HPE OneView provides the ability to save your configuration settings and management data to a backup file and enables you to use that backup to restore a corrupted appliance in the event of a catastrophic failure.

The backup process involves creating a backup file and then downloading that file so that you can store it to a safe and secure (off-appliance) location for future use. You can schedule automatic backup operations and designate a remote location for the backup file.

Use this cmdlet to save the created appliance backup files. Use the -SaveRemoteOnly parameter to save the backup file(s) to the remote location if configured on the appliance.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? False
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Location <String>

Specify the directory or UNC path where to save the backup file(s) to.

Aliases save
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-SaveRemoteOnly <SwitchParameter>

When appliance automatic backup is configured, use this parameter to specify the backup file(s) should be saved in the remote location, instead of the local PC.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async Task resource to monitor progress of the backup file saved to the remote location.

System.IO.FileInfo

The saved backup file located on the PC.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Save-HPOVBackup

Save the found backup file

 -------------------------- EXAMPLE 2 --------------------------

Save-HPOVBackup -Location \\Server\BackupShare\HPOneView

Save the found backup file to the specified location.

Related Links


Top

HPE OneView 4.00 Library

Save-HPOVBackup

Save existing backups on an appliance.

SYNTAX

Save-HPOVBackup[ [-Location] <string>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Save-HPOVBackup [-SaveRemoteOnly] <SwitchParameter>[ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

HPE OneView provides the ability to save your configuration settings and management data to a backup file and enables you to use that backup to restore a corrupted appliance in the event of a catastrophic failure.

The backup process involves creating a backup file and then downloading that file so that you can store it to a safe and secure (off-appliance) location for future use. You can schedule automatic backup operations and designate a remote location for the backup file.

Use this cmdlet to save the created appliance backup files. Use the -SaveRemoteOnly parameter to save the backup file(s) to the remote location if configured on the appliance.

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? False
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Location <string>

Specify the directory or UNC path where to save the backup file(s) to.

Aliases save
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-SaveRemoteOnly <SwitchParameter>

When appliance automatic backup is configured, use this parameter to specify the backup file(s) should be saved in the remote location, instead of the local PC.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async Task resource to monitor progress of the backup file saved to the remote location.

System.IO.FileInfo

The saved backup file located on the PC.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Save-HPOVBackup

Save the found backup file

 -------------------------- EXAMPLE 2 --------------------------

Save-HPOVBackup -Location \\Server\BackupShare\HPOneView

Save the found backup file to the specified location.

Related Links


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