You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-enable-soft-delete.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The following steps show how to enable soft delete for Azure file shares on an e
24
24
1. Select **File share retention period in days** and enter a number of your choosing.
25
25
1. Select **Save** to confirm your data retention settings.
26
26
27
-
:::image type="content" source="media/storage-how-to-recover-deleted-account/enable-soft-delete-files.png" alt-text="Screenshot of the storage account soft delete settings pane. Highlighting the file shares section, enable toggle, retention period, and save.":::
27
+
:::image type="content" source="media/storage-how-to-recover-deleted-account/enable-soft-delete-files.png" alt-text="Screenshot of the storage account soft delete settings pane. Highlighting the file shares section, enable toggle, set a retention period, and save. This will enable soft delete for all file shares in your storage account.":::
28
28
29
29
# [PowerShell](#tab/azure-powershell)
30
30
@@ -55,13 +55,13 @@ To restore a soft deleted file share:
55
55
56
56
This will display any shares which are currently in a **Deleted** status.
:::image type="content" source="media/storage-how-to-recover-deleted-account/undelete-file-share.png" alt-text="If the status column, the column next to the name column, is set to deleted, then your file share is in a soft deleted state. And will be permanently deleted after your specified retention period.":::
59
59
60
60
1. Select the share and select **undelete**, this will restore the share.
61
61
62
62
You can confirm the share is restored since its status switches to **Active**.
:::image type="content" source="media/storage-how-to-recover-deleted-account/restored-file-share.png" alt-text="If the status column, the column next to the name column, is set to Active, then your file share has been restored.":::
To disable soft delete for your storage account, follow these instructions:
77
+
If you wish to stop using soft delete, or permanently delete a file share, follow these instructions:
78
78
79
79
# [Portal](#tab/azure-portal)
80
80
81
81
1. Navigate to your storage account and select **Soft delete** under **Settings**.
82
82
1. Under **File shares** select **Disabled** for **Soft delete for file shares**.
83
83
1. Select **Save** to confirm your data retention settings.
84
84
85
+
:::image type="content" source="media/storage-how-to-recover-deleted-account/disable-soft-delete-files.png" alt-text="Disabling soft delete will allow you to immediately and permanently delete all file shares in your storage account at your leisure.":::
86
+
85
87
# [PowerShell](#tab/azure-powershell)
86
88
87
89
You can use the following command to disable soft delete on your storage account:
0 commit comments