Set-OBInitialBackupCreationMethod
Set-OBInitialBackupCreationMethod
Specifies how Backup creates an initial backup copy, which can be either over the network, or by using a disk you send to an Azure datacenter.
구문
Parameter Set: Default
Set-OBInitialBackupCreationMethod -Policy <CBPolicy> [-AzureImportJobName <String> ] [-AzurePublishSettings <String> ] [-AzureStorageAccount <String> ] [-AzureStorageContainer <String> ] [-AzureSubscriptionID <String> ] [-IBMethod <String> ] [-StagingLocation <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
자세한 설명
The Set-OBInitialBackupCreationMethod cmdlet specifies whether Azure Backup creates an initial backup copy automatically over the network, or offline by using the Azure Import/Export service. To create an offline backup, you use an Azure import job that notifies the Import/Export service that you are shipping hard drives to an Azure data center. If you specify an offline backup, this cmdlet provides parameters to identify the Azure import job and move the backup copy from the storage container to the backup vault.
매개 변수
-AzureImportJobName<String>
Specifies the name of the import job.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-AzurePublishSettings<String>
Specifies the path to the publish settings file that contains information about the storage account that you use to move the backup copy to the backup vault.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-AzureStorageAccount<String>
Specifies an Azure Storage account that the Azure import job uses to copy the initial backup copy from the on-premises installation to an Azure data center.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-AzureStorageContainer<String>
Specifies an Azure Storage container that the Azure import job uses to copy the initial backup copy from the on-premises installation to an Azure data center.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-AzureSubscriptionID<String>
Specifies an Azure Subscription ID that the Azure import job uses to copy the initial backup copy from the on-premises installation to an Azure data center.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IBMethod<String>
Specifies the method that Azure Backup uses to create the initial backup copy. This can be either through the network or by using an offline backup to ship a disk to an Azure data center. 이 매개 변수에 허용되는 값은 다음과 같습니다. Network, OfflineBackup.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Policy<CBPolicy>
Specifies the online backup policy associated with the server.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-StagingLocation<String>
Specifies the path to the staging location at which to create the initial backup copy. This backup copy is then copied from the staging location to the disk and shipped to the Azure data center using an Azure import job.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Confirm
cmdlet을 실행하기 전에 확인 메시지를 표시합니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-WhatIf
cmdlet이 실행되는 경우 발생할 결과를 보여 줍니다. cmdlet은 실행되지 않습니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
예
Example 1: Specify that Backup creates the initial backup copy over the network
This command specifies that Backup creates the initial backup copy automatically, by using the network. The $Policy01 variable contains the server policy that you can retrieve using Get-OBPolicy.
PS C:\> Set-OBInitialBackupCreationMethod -Policy $Policy01 -IBMethod "Network"
Example 2: Specify that Backup creates the initial backup copy offline
This command specifies that Backup creates the initial backup copy offline, by using an import job named BackupJob01. The parameters also specify the staging location at which to create the initial backup copy, the name of the import job that notifies the Import/Export service that you are shipping hard drives to a data center, and the publish file, Azure Subscription ID, Storage account, and Storage container that the import job uses.
PS C:\> Set-OBInitialBackupCreationMethod -Policy $Policy01 -IBMethod "OfflineBackup" -StagingLocation "D:\SalesData" -AzureImportJobName "BackupJob01" -AzurePublishSettings "C:\Users\Downloads\AzureOrg.publishsettings" -AzureSubscriptionID "a53949b2-82fd-4d4d-853a-509b6e6e07ca" -AzureStorageAccount "BackupFinanceAccount" -AzureStorageContainer "SalesStorage"