Start-DPMCloudRegistration
Registers a DPM server with Azure Online Backup service to enable online protection.
Syntax
Start-DPMCloudRegistration
[[-DPMServerName] <String>]
[-RecoveryService] <CloudServiceResource>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Start-DPMCloudRegistration
[[-DPMServerName] <String>]
[-VaultCredentialsFilePath] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Start-DPMCloudRegistration cmdlet registers a System Center - Data Protection Manager (DPM) server with Azure Online Backup service to enable online protection.
Examples
Example 1: Register a server with Azure Online Backup using cloud recovery source
PS C:\>$ContosoResource = Get-DPMCloudRecoveryService -DPMServerName "TestingServer" -VaultCredentialsFilePath "DPMTESTVault_Friday, September 5, 2014.VaultCredentials"
PS C:\> Start-DPMCloudRegistration -DPMServerName "TestingServer" -RecoveryService $ContosoResource
The first command gets the cloud service resource from the vault credential file.
The second command registers the DPM server named TestingServer with Azure Online Backup by using the cloud service resource.
Example 2: Register a server with Azure Online Backup using vault credential file
PS C:\>Start-DPMCloudRegistration -DPMServerName "TestingServer" -VaultCredentialsFilePath "C:\DPMTESTVault_Friday, September 5, 2014.VaultCredentials"
This command registers a DPM server named TestingServer with Azure Online Backup by using vault credential file C:\DPMTESTVault_Friday, September 5, 2014.VaultCredentials.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMServerName
Specifies the name of the DPM server that this cmdlet registers.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RecoveryService
Specifies the Cloud recovery resource for the backup vault on Azure Online Backup.
Type: | CloudServiceResource |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VaultCredentialsFilePath
Specifies the vault credential file path for the Azure Online Backup. Specify a network path for a remote user interface .
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |