Enable-AzureRmBackupContainerReregistration

Reregisters a server to connect to a Backup vault.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

Enable-AzureRmBackupContainerReregistration
      [-Container] <AzureRMBackupContainer>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Enable-AzureRmBackupContainerReregistration cmdlet reregisters a server to connect to an Azure Backup vault and continue the Backup recovery point chain. If you destroy a server, all its cloud backup points remain in the Backup vault. If you create a replacement server and assign it the same fully qualified domain name, you can connect the server back to the same vault. This cmdlet enables Backup to make backups and add new backup points to the existing set. The new the server continues in the backup chain.

Parameters

-Container

Specifies the container that this cmdlet reregisters. To obtain an AzureRmBackupContainer, use the Get-AzureRmBackupContainer cmdlet.

Type:AzureRMBackupContainer
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

AzureRMBackupContainer

Parameters: Container (ByValue)

Outputs

Void