Hi Vinoth,
it is totally possibile, I have setup a custom procedure to achieve this while keeping the old backup data for the retention period.
This procedure requires a VM migration from the original Resource Group to a temporary one.
These are the steps to follow:
- Stop protection and retain backup data (https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/backup/backup-azure-manage-vms.md#stop-protection-and-retain-backup-data)
- Move the VM to a temporary Resource Group (changing the Resource Group will also change the resource ID, so Azure will recognize the VM as different and unprotected, allowing you to configure protection in the new vault)
- Protect the VM in the new vault
- Wait the retention period to be fulfilled in the new RSV
- Disable the Soft Delete feature and delete the recovery points in the old RSV
Optionally, if you want to go back to the original Resource Group, do the following:
- Move the VM to the original Resource Group (to change the resource ID again and allow Azure recognize the VM as unprotected, so you can set up the protection again in the new RSV).
- Protect the VM again in the new vault
- Wait the retention period to be fulfilled again
- Delete the old recovery points from the new RSV and wait for the Soft Delete feature to automatically delete the points after 14 days
Please let me know if the procedure is clear.
Best Regards,
Alessio