Restore ADLS Gen2 (HNS) Account / Containers

ParthibanSekarUK-3136 20 Reputation points
2024-08-29T11:43:56.1+00:00

Hello,

I am using an ADLS Gen2 / HNS storage account or data lake. I have enabled blob versioning and soft delete. That is helpful to recover deleted blobs. However I want to selectively restore my storage account as well as container to a point in time in the past given that PITR is not supported for HNS/ADLS Gen2. This is needed if we want to rollback a release to a previous state. Please advise.

Thanks.

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,485 questions
{count} votes

Accepted answer
  1. Nehruji R 8,146 Reputation points Microsoft Vendor
    2024-08-30T08:15:19.14+00:00

    Hello ParthibanSekarUK-3136,

    Greetings! Welcome to Microsoft Q&A Platform.

    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 Please do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.


0 additional answers

Sort by: Most helpful

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.