簡體   English   中英

Azure:是否可以刪除 Azure 備份中的還原點?

[英]Azure: Is it possible to delete a restore point in azure backup?

我有一個測試還原點(超過 30 天),我想刪除以節省成本。 我通過 azure 門戶嘗試過,我發現唯一的選擇是刪除備份數據,而不是特定虛擬機的還原點。

我目前正在使用經典部署,並且使用經典部署部署 VM。

現在可以使用思想門戶、powershell 和 CLI。

首先你需要停止備份(retain backup)。 在 RSV 屬性中禁用軟刪除。 之后找到合適的 RG - AzureBackupRG-location_of_vm,例如: AzureBackupRG_westus2_1請記住在 RG 中選中“顯示隱藏類型”。 最后一步是刪除此 RG 中的還原點。 You only delete restore point, not backup from vault

*

*PORTAL**:
Temporarily stop the backup and retain backup data.

To move virtual machines configured with Azure Backup, do the following steps:

Find the location of your virtual machine.
Find a resource group with the following naming pattern: AzureBackupRG_<location of your VM>_1. For example, AzureBackupRG_westus2_1
In the Azure portal, check Show hidden types.
Find the resource with type Microsoft.Compute/restorePointCollections that has the naming pattern AzureBackup_<name of your VM that you're trying to move>_###########.
Delete this resource. This operation deletes only the instant recovery points, not the backed-up data in the vault.
After the delete operation is complete, you can move your virtual machine.
Move the VM to the target resource group.

Resume the backup.

鏈接到 MS Doc

據我所知,在 Azure 備份中刪除還原點是不可能的。 根據官方文檔中的刪除備份日期

與恢復恢復點的過程不同,當您刪除備份數據時,您不能選擇要刪除的特定恢復點 如果刪除備份數據,則會刪除所有關聯的恢復點。

此外,沒有必要選擇要刪除的特定恢復點,因為您可以在備份策略中自定義保留范圍 Retention 是指數據需要存儲多長時間。 參考這個

我在嘗試刪除還原點時遇到“內部系統錯誤”。 這是因為 VM 已經被釋放。 我重新打開它,然后能夠成功刪除還原點,然后再次關閉虛擬機。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM