Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Container soft delete protects your data from being accidentally or erroneously modified or deleted. When container soft delete is enabled for a storage account, a container and its contents may be recovered after it has been deleted, within a retention period that you specify. For more details about container soft delete, see Soft delete for containers.
For end-to-end data protection, Microsoft recommends that you also enable soft delete for blobs and blob versioning. To learn how to also enable soft delete for blobs, see Enable and manage soft delete for blobs. To learn how to enable blob versioning, see Blob versioning.
You can enable or disable container soft delete for the storage account at any time by using the Azure portal, PowerShell, Azure CLI, or an Azure Resource Manager template. Microsoft recommends setting the retention period for container soft delete to a minimum of seven days.
To enable container soft delete for your storage account by using Azure portal, follow these steps:
In the Azure portal, navigate to your storage account.
Locate the Data protection settings under Data management.
Select Enable soft delete for containers.
Specify a retention period between 1 and 365 days.
Save your changes.
When soft delete is enabled, you can view soft-deleted containers in the Azure portal. Soft-deleted containers are visible during the specified retention period. After the retention period expires, a soft-deleted container is permanently deleted and is no longer visible.
To view soft-deleted containers in the Azure portal, follow these steps:
Navigate to your storage account in the Azure portal and view the list of your containers.
Toggle the Show deleted containers switch to include deleted containers in the list.
You can restore a soft-deleted container and its contents within the retention period. To restore a soft-deleted container in the Azure portal, follow these steps:
Navigate to your storage account in the Azure portal and view the list of your containers.
Display the context menu for the container you wish to restore, and choose Undelete from the menu.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Configure Azure Blob Storage - Training
Learn how to configure Azure Blob Storage, including tiers and object replication.
Certification
Microsoft Certified: Azure Administrator Associate - Certifications
Demonstrate key skills to configure, manage, secure, and administer key professional functions in Microsoft Azure.