Disaster recovery and data protection for OneLake
All data in OneLake is accessed through data items. These data items can reside in different regions depending on their workspace, as a workspace is created under a capacity tied to a specific region.
OneLake utilizes zone-redundant storage (ZRS) where available (see Azure regions with availability zones) and locally redundant storage (LRS) elsewhere. With both LRS and ZRS storage, your data is resilient to transient hardware failures within a data center. With ZRS, your data has fault tolerance to data center failures. This article provides guidance on how to further protect your data from rare region-wide outages.
Disaster recovery
You can enable or disable Business Continuity and Disaster Recovery (BCDR) for a specific capacity through the Capacity Admin Portal. If your capacity has BCDR activated, your data is duplicated and stored in two different geographic regions, making it geo-redundant. The choice of the secondary region is determined by Azure's standard region pairings and can't be modified.
If a disaster makes the primary region unrecoverable, OneLake may initiate a regional failover. Once the failover completes, you can use OneLake's APIs through the global endpoint to access your data in the secondary region. Data replication to the secondary region is asynchronous, so any data not copied during the disaster is lost. After a failover, the new primary data center will have local redundancy only.
For a comprehensive understanding of the end-to-end experience, see Fabric BCDR.
Soft delete for OneLake files
OneLake soft delete protects individual files from accidental deletion by retaining files for a default retention period before it's permanently deleted. The current default is 28 days but starting May 2024 we are transitioning to a 7-day default retention period, so new workspaces will have this updated period. All soft-deleted data is billed at the same rate as active data.
You can restore files and folders using Blob REST APIs, Azure Storage SDKs, and the PowerShell Az.Storage module. Learn how to list and undelete files using these PowerShell instructions and how to connect to OneLake with PowerShell.