How to recover deleted folder from ADLS Gen 2

Gunwant 21 Reputation points
2020-06-10T12:04:41.21+00:00

Is there a way to recover accidently deleted folder in ADLS Gen 2?

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,338 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Malleswara Reddy, G 1,631 Reputation points
    2020-06-10T12:28:45.33+00:00

  2. PRADEEPCHEEKATLA-MSFT 76,586 Reputation points Microsoft Employee
    2020-06-12T14:06:20.073+00:00

    @Gunwant , Welcome to the Microsoft Q&A platform.

    If it is production data that got deleted, recommended to reach out to Azure Support immediately. They may be able to recover the data if not too much time has elapsed.

    Hope this helps. Do let us know if you any further queries.

    ----------------------------------------------------------------------------------------

    Do click on "Accept Answer" and Upvote on the post that helps you, this can be beneficial to other community members.

    0 comments No comments

  3. PRADEEPCHEEKATLA-MSFT 76,586 Reputation points Microsoft Employee
    2023-07-10T04:58:01.3033333+00:00

    @Gunwant

    UPDATED Answer:

    Azure Data Lake Gen2 where Soft-delete is not enabled: If it is production data that got deleted, recommended to reach out to Azure Support immediately. They may be able to recover the data if not too much time has elapsed.

    Manual recovery:

    If self-recovery is not possible, the Azure Storage product team can attempt to recover the data. However, recovery attempts are possible only if the following two conditions are met. If the recovery target has been re-created with the same name since it was deleted, you'll need to provide a new folder that we can use to restore the recovered data. You'll be responsible for merging back the data to the original location.

    1. The file system, the folder, or file data was deleted in the last 3 days.
    2. Hierarchical namespace is enabled.

    Note: Because garbage collection can occur on our system at any time, we can't guarantee a successful recovery even if the preceding conditions are met. As part of our data privacy guarantee, we make sure that data deleted by customers is eventually overwritten.User's image

    Azure Data Lake Gen2 supports soft delete for bobs/containers. And as a best practice, it always recommended to enable soft delete which helps to self recover the deleted files for a specific period of time as per your configuration.

    Self-recovery

    If you have container or blob soft-delete enabled, you can recover the data if the data retention period has not expired. For step-by-step instructions, see:

    User's image

    The following table describes whether a feature is supported in a standard general-purpose v2 account when you enable a hierarchical namespace (HNS), NFS 3.0 protocol, or SFTP.

    User's image

    For more details, refer to Blob Storage feature support in Azure Storage accounts and Enable soft delete for blobs.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments