Hey TugrulA -
1. Deleting a Unity Catalog Metastore permanently removes all associated objects, and the new metastore wont automatically include original objects. Unfortunately automatic recover is not possible. While UC allows UNDROP for individual tables within 7 days, this does not apply to entire metastores. If you have a pre-deletion backup of metastore metadata (e.g. viaDESCRIBE HISTORY
or versioned storage), use that to recreate your objects. Otherwise - contact Databricks support directly and they might be able to assist with a partial recovery. See https://docs.databricks.com/aws/en/data-governance/unity-catalog/manage-metastore.
2. Each Delta table's _delta_log
contains JSON files with metadata. Look for metaData
actions in these files, which include the name
field identifying the table.
-
Example workflow:
-
List all directories under the old Azure storage container.
-
For each UUID directory:
dbutils.fs.ls("abfss://<container>@<storage>.dfs.core.windows.net/<UUID>/_delta_log/")
-
Inspect the most recent JSON log file for "commitInfo"."operationParameters"."name"
.
Critical Considerations: Managed table data from the deleted metastore is permanently removed after 30 days. If tables were external, their data remains intact in storage, but you'll need to reregister them in the new metastore using their original paths.