Set-DPMInitialOnlineBackupCreationMethod
Set-DPMInitialOnlineBackupCreationMethod
Modifies the method of initial online backup for a protection group.
構文
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>]
詳細説明
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 choose Network or OfflineBackup as the initial online backup method.
パラメーター
-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.
エイリアス |
none |
必須? |
false |
位置は? |
5 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-AzurePublishSettings<String>
Specifies the Azure publish settings file for the Azure account where the initial backup copy is shipped.
エイリアス |
none |
必須? |
false |
位置は? |
4 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-AzureStorageAccount<String>
Specifies the Azure Storage account associated with the Azure import job that the AzureImportJobName parameter specifies.
エイリアス |
none |
必須? |
false |
位置は? |
7 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-AzureStorageContainer<String>
Specifies the destination blob storage container to which to import the files.
エイリアス |
none |
必須? |
false |
位置は? |
8 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-AzureSubscriptionID<String>
Specifies the Azure subscription ID associated with the Azure import job that the AzureImportJobName parameter specifies.
エイリアス |
none |
必須? |
false |
位置は? |
6 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-IBMethod<InitialOnlineBackupMethodType>
Specifies the method of initial online backup. Valid values are: Network and OfflineBackup.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PassThru
Indicates that the cmdlet generates output. By default, this cmdlet does not generate output. You can use the PassThru parameter in order to use the cmdlet in a pipeline.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a ProtectionGroup object. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-StagingLocation<String>
Specifies a staging location for the initial backup copy. You can specify a local folder or network shared folder.
エイリアス |
none |
必須? |
false |
位置は? |
3 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Modify Set the initial online backup method as Network forof a protection groupSet initial online as Network for
The first command gets a protection group that has DPM server name DPMServer02, and then stores it in the $ProtectionGroup variable.
The second command sets the initial online backup method for the group stored in $ProtectionGroup to be Network.
PS C:\> $ProtectionGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Set-InitialOnlineBackupCreationMethod -ProtectionGroup $ProtectionGroup -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 $ProtectionGroup variable.
The second command sets the initial online backup method for the group stored in $ProtectionGroup to be OfflineBackup.
PS C:\> $ProtectionGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Set-InitialOnlineBackupCreationMethod -ProtectionGroup $ProtectionGroup -IBMethod OfflineBackup -StagingLocation 'C:\StagingLocation' -AzurePublishSettings 'C:\Files\AzurePublishSettings.publishsettings' -AzureImportJobName 'ImportJobName' -AzureSubscriptionID 7c9e6679-7425-40de-944b-e07fc1f90ae7 -AzureStorageAccount 'AccountName' -AzureStorageContainer 'ContainerName'