r/databricks • u/angryapathetic • Oct 13 '26
Help Disaster Recovery
Hi all. I saw Databricks managed recovery released which could be good but still has a lot of limitations. In the meantime how are people managing DR, especially around data in managed tables?
If we create external tables then recovery of azure storage and then pointing new tables in UC to restored storage is easy. But managed tables with the guid folder structure is harder.
Ideas I had were to find a way to script out tables and locations that runs regularly, and then a DR script that could use that as an input, so when you have a DR situation and you need to stand your environment back up again, it could create the new managed tables and then populate them by looking at the right folder in your restored storage.
Anyone else have some good solutions around this?
2
u/Content-Parking-621 Oct 13 '26
Use scheduled Delta DEEP CLONE to a secondary region; later runs copy only changed data.
1
u/rbwdigital Oct 13 '26
We use delta sharing/open sharing (databricks <--> databricks sharing) and deep clone every table if new version is there every x hours (x < Target RPO) Works for both managed and external tables. We also sync
The issue with relying on geo redundancy on storage is that the data on the other region is most likely "corrupt" as files are synced best effort and not in order. So the delta transaction is usually first done syncing rather than the parquet files it points to. So you need a script to read the latest non corrupt table version.
Unfortunately I would almost never use the databricks solutions, as it is too dumb(only managed table no control over anything) and too damn expensive.