title | description | services | author | ms.author | ms.service | ms.topic | ms.date |
---|---|---|---|---|---|---|---|
Re-establish deleted volume replication relationships in Azure NetApp Files |
You can re-establish the replication relationship between volumes. |
azure-netapp-files |
b-ahibbard |
anfdocs |
azure-netapp-files |
how-to |
02/21/2023 |
Azure NetApp Files allows you to re-establish a replication relationship between two volumes in case you had previously deleted it. You can only re-establish the relationship from the destination volume.
If the destination volume remains operational and no snapshots were deleted, the replication re-establish operation uses the last common snapshot. The operation incrementally synchronizes the destination volume based on the last known good snapshot. A baseline snapshot isn't required.
- You can only re-establish relationships when there's an existing snapshot generated either manually or by a snapshot policy.
The re-establish deleted volume replication relationships capability is currently in preview. If you're using this feature for the first time, you need to register the feature first.
-
Register the feature by running the following commands:
Register-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFReestablishReplication
-
Check the status of the feature registration:
[!NOTE] The RegistrationState may be in the
Registering
state for up to 60 minutes before changing toRegistered
. Wait until the status isRegistered
before continuing.Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFReestablishReplication
You can also use Azure CLI commands az feature register
and az feature show
to register the feature and display the registration status.
- From the Volumes menu under Storage service, select the volume that was formerly the destination volume in the replication relationship you want to restore. Then select the Replication tab.
- In the Replication tab, select the Re-establish button. :::image type="content" source="./media/reestablish-deleted-volume-relationships/reestablish-button.png" alt-text="Screenshot of volume menu that depicts no existing volume relationships. A red box surrounds the re-establish button." lightbox="./media/reestablish-deleted-volume-relationships/reestablish-button.png":::
- A dropdown list appears with a selection of all volumes that formerly had either a source or destination replication relationship with the selected volume. From the dropdown menu, select the volume you want to reestablish a relationship with. Select OK to reestablish the relationship. :::image type="content" source="./media/reestablish-deleted-volume-relationships/reestablish-confirm.png" alt-text="Screenshot of a dropdown menu with available volume relationships to restore." lightbox="./media/reestablish-deleted-volume-relationships/reestablish-confirm.png":::