Set-DPMInitialOnlineBackupCreationMethod
Set-DPMInitialOnlineBackupCreationMethod
Modifies the method of initial online backup for a protection group.
Syntax
Parameter Set: OfflineBackup
Set-DPMInitialOnlineBackupCreationMethod [-ProtectionGroup] <ProtectionGroup> [-IBMethod] <InitialOnlineBackupMethodType> {Network | OfflineBackup} [[-StagingLocation] <String> ] [[-AzurePublishSettings] <String> ] [[-AzureImportJobName] <String> ] [[-AzureSubscriptionID] <String> ] [[-AzureStorageAccount] <String> ] [[-AzureStorageContainer] <String> ] [-PassThru] [ <CommonParameters>]
Detailed Description
The Set-DPMInitialOnlineBackupCreationMethod cmdlet modifies the method of initial online backup. Specify a method for a System Center 2012 R2 - Data Protection Manager (DPM) protection group during creation of that protection group. You can select Network or OfflineBackup as the initial online backup method.
Parameters
-AzureImportJobName<String>
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.
Aliases |
none |
Required? |
false |
Position? |
5 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-AzurePublishSettings<String>
Specifies the Azure publish settings file for the Azure account where the initial backup copy is shipped.
Aliases |
none |
Required? |
false |
Position? |
4 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-AzureStorageAccount<String>
Specifies the Azure Storage account associated with the Azure import job that the AzureImportJobName parameter specifies.
Aliases |
none |
Required? |
false |
Position? |
7 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-AzureStorageContainer<String>
Specifies the destination blob storage container to which to import the files.
Aliases |
none |
Required? |
false |
Position? |
8 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-AzureSubscriptionID<String>
Specifies the Azure subscription ID associated with the Azure import job that the AzureImportJobName parameter specifies.
Aliases |
none |
Required? |
false |
Position? |
6 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-IBMethod<InitialOnlineBackupMethodType>
Specifies the method of initial online backup. Valid values are: Network and OfflineBackup.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PassThru
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a protection group on which this cmdlet operates. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-StagingLocation<String>
Specifies a staging location for the initial backup copy. You can specify a local folder or network shared folder.
Aliases |
none |
Required? |
false |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Modify the initial online backup method for a protection group
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.
PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Set-InitialOnlineBackupCreationMethod -ProtectionGroup $PGroup -IBMethod Network
Example 2: Set the initial online backup method as OfflineBackup for a protection group
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.
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'