How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure

| ,

Published on | Updated on December 30, 2020

2 Min. Read

Introduction

In Azure Stack, you have the option to retain storage accounts after they have been deleted. However, public Azure does not offer this feature.

When a user deletes a storage account in Azure, the Storage Resource Provider immediately marks the data for deletion. In contrary, when you a delete a storage account in Azure Stack, the account is retained for 0 days by default. I recommend to change the retention period to 14 days.

You can configure the retention period for storage accounts at an Azure Stack region level. This allows you to configure different retention options based on the available capacity within a specific location.

How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure 1

The retention range runs from 0 days, where the Storage Account is marked as out of retention period and can be purged on the next automatic garbage collection, to a maximum of 9999 days (27.4 years).

When you delete a storage account, the account is removed from the user’s subscription and the user is given a notice stating the following:

This action cannot be undone. This will permanently delete storage account ‘<Storage Account Name>’ and its contents.

How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure 2

In this article, I will show you how to recover a deleted storage account in Azure Stack.

Recover a deleted storage account

The following high-level steps show you how to recover a deleted storage account:

  1. In the Azure Stack portal, sign-in as an Azure Stack Cloud Operator at: https://adminportal.local.azurestack.external
  2. Navigate to Region management.
  3. Select the region where the storage account resides.
  4. Select the Storage resource provider. How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure 3
  5. Select Storage accounts under USER RESOURCES.
  6. Find the required storage account that has been deleted. The name of the storage account would have been changed to “storage account name @<Date/Time of deletion>”. How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure 4
  7. Select the storage account.
  8. On the Storage account blade, click Recover. How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure 5
  9. The Storage Account is then renamed to the original storage account name and placed back in the tenant’s subscription.How to Recover a Deleted Storage Account in Azure Stack? #AzureStack #AzureStackDevKit #Azure 6

That’s it there you have it! Hope this helps,

Cheers,
[email protected]

Previous

How to Add Windows Server 2016 Image to #AzureStack #AzureStackDevKit #WindowsServer

Microsoft Official Courseware 20537 – Configuring and Operating a Hybrid Cloud with #Microsoft #AzureStack

Next

Let me know what you think, or ask a question...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Stay in Touch

Never miss out on your favorite posts and our latest announcements!

The content of this website is copyrighted from being plagiarized! You can copy from the 'Code Blocks' in Black.

Please send your feedback to the author using this form for any 'Code' you like.

Thank you for visiting!