Share via


Set-DPMInitialOnlineBackupCreationMethod

Modifies the method of initial online backup for a protection group.

Syntax

Default (Default)

Set-DPMInitialOnlineBackupCreationMethod
    [-ProtectionGroup] <ProtectionGroup>
    [-IBMethod] <InitialOnlineBackupMethodType>
    [[-StagingLocation] <String>]
    [[-AzurePublishSettings] <String>]
    [[-AzureImportJobName] <String>]
    [[-AzureSubscriptionID] <String>]
    [[-AzureStorageAccount] <String>]
    [[-AzureStorageContainer] <String>]
    [-PassThru]
    [<CommonParameters>]

Description

The Set-DPMInitialOnlineBackupCreationMethod cmdlet modifies the method of initial online backup. Specify a method for a System Center - Data Protection Manager (DPM) protection group during creation of that protection group. You can select Network or OfflineBackup as the initial online backup method.

Examples

Example 1: Modify the initial online backup method for a protection group

PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Set-InitialOnlineBackupCreationMethod -ProtectionGroup $PGroup -IBMethod Network

The first command gets a protection group that has DPM server name DPMServer02, and then stores it in the $PGroup variable.

The second command sets the initial online backup method for the group in $PGroup to be Network.

Example 2: Set the initial online backup method as OfflineBackup for a protection group

PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Set-InitialOnlineBackupCreationMethod -ProtectionGroup $PGroup -IBMethod OfflineBackup -StagingLocation 'C:\StagingLocation' -AzurePublishSettings 'C:\Files\AzurePublishSettings.publishsettings' -AzureImportJobName 'ImportJobName' -AzureSubscriptionID 7c9e6679-7425-40de-944b-e07fc1f90ae7 -AzureStorageAccount 'AccountName' -AzureStorageContainer 'ContainerName'

The first command gets a protection group that has DPM server name DPMServer02, and then stores it in the $PGroup variable.

The second command sets the initial online backup method for the group stored in $PGroup to be OfflineBackup.

Parameters

-AzureImportJobName

Specifies the name of the Azure import job. The value of this parameter is used as a reference to ship the initial copy of disk.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:5
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzurePublishSettings

Specifies the Azure publish settings file for the Azure account where the initial backup copy is shipped.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:4
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureStorageAccount

Specifies the Azure Storage account associated with the Azure import job that the AzureImportJobName parameter specifies.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:7
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureStorageContainer

Specifies the destination blob storage container to which to import the files.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:8
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AzureSubscriptionID

Specifies the Azure subscription ID associated with the Azure import job that the AzureImportJobName parameter specifies.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:6
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IBMethod

Specifies the method of initial online backup.

The acceptable values for this parameter are:

  • Network
  • OfflineBackup

Parameter properties

Type:InitialOnlineBackupMethodType
Default value:None
Accepted values:Network, OfflineBackup
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProtectionGroup

Specifies a protection group on which this cmdlet operates. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

Parameter properties

Type:ProtectionGroup
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-StagingLocation

Specifies a staging location for the initial backup copy. You can specify a local folder or network shared folder.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:3
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.