Where can I request to undelete the blobs because storage explorer undelete is unstable

John Francis 0 Reputation points
2023-07-21T14:15:27.33+00:00

Where can I request to undelete the blobs because storage explorer undelete is unstable . The undelete is failing due to timeout and not undeleting certain subfolders

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,062 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 47,471 Reputation points Microsoft Employee
    2023-07-31T17:44:47.76+00:00

    @John Francis A Sebastian Firstly, Apologies for the delay response!

    Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    If you are facing issues with undeleting blobs using Azure Storage Explorer and it's unstable or failing, you can try alternative methods to undelete blobs or get assistance from Microsoft Azure support. Here are some steps you can take:

    If you are unable to undelete blobs using Storage Explorer, you can try using Azure PowerShell or Azure CLI to undelete the blobs.

    Here are the steps to undelete blobs using Azure PowerShell:

    Open Azure PowerShell and connect to your Azure account.

    Run the following command to get a list of deleted blobs in your storage account:

    Get-AzStorageBlob -Context $context -Container $containerName -IncludeDeleted
    

    Replace $context with your storage account context and $containerName with the name of the container that contains the deleted blobs.

    Identify the blobs that you want to undelete and run the following command to undelete them:

    $blob | ForEach-Object { Restore-AzDeletedStorageBlob -Context $context -Blob $_.Name -Container $containerName }
    

    Replace $context with your storage account context, $containerName with the name of the container that contains the deleted blobs, and $blob with the list of blobs that you want to undelete.

    Here are the steps to undelete blobs using Azure CLI:

    Open Azure CLI and connect to your Azure account.

    Run the following command to get a list of deleted blobs in your storage account:

    az storage blob list --account-name <storage-account-name> --account-key <storage-account-key> --container-name <container-name> --include d
    

    Replace <storage-account-name> with the name of your storage account, <storage-account-key> with your storage account key, and <container-name> with the name of the container that contains the deleted blobs.

    Identify the blobs that you want to undelete and run the following command to undelete them:

    az storage blob undelete --account-name <storage-account-name> --account-key <storage-account-key> --container-name <container-name> --name <blob-name>
    

    Replace <storage-account-name> with the name of your storage account, <storage-account-key> with your storage account key, <container-name> with the name of the container that contains the deleted blobs, and <blob-name> with the name of the blob that you want to undelete.

    If you are still unable to undelete the blobs using Azure PowerShell or Azure CLI, you can contact Microsoft support for further assistance.

    1. Use Azure Portal: Instead of Azure Storage Explorer, you can try using the Azure portal to undelete blobs. Follow these steps:
      • Go to the Azure portal (https://portal.azure.com) and sign in with your credentials.
        • Navigate to the specific Blob Storage account that contains the blobs you want to undelete.
          • In the left-hand menu, under "Blob service," click on "Containers."
            • Select the container containing the deleted blobs.
              • In the container overview blade, click on "Deleted blobs" to view the list of deleted blobs.
                • Select the blobs you want to undelete and click "Undelete" from the toolbar.
    2. Azure PowerShell or Azure CLI: You can also use Azure PowerShell or Azure CLI to undelete blobs programmatically. This method provides more control and allows you to handle timeouts and retries as needed. For example, using Azure PowerShell, you can use the Undo-AzDeletedBlob cmdlet to undelete blobs.
    3. Contact Azure Support: If you're unable to undelete blobs using the methods mentioned above or encountering issues due to timeouts, it's recommended to reach out to Microsoft Azure support. Azure Support can help you investigate the issue and provide guidance on the best approach to recover your deleted blobs. I would recommend you to contact support, so If you have a support plan, I request you file a support ticket, else please do let us know, we will try and help you get a one-time free technical support. In this case, could you send an email to AzCommunity[at]Microsoft[dot]com referencing this thread as well as your subscription ID. Please mention "ATTN subm" in the subject field. Thank you for your cooperation on this matter and look forward to your reply.

     

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.