cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Load backup file

swathiG
New Contributor III

Hi Team,

There is a requirement to load a backup file into a database inside a SQL Warehouse. However, I don't see any option to directly load a
backup file.

I have tried reading the backup file using a notebook, but Iโ€™m unable to interpret the contents. Hereโ€™s the code Iโ€™ve used to attempt reading the file:

can anyone please suggest on this.

swathiG_0-1723483143998.png

 

3 REPLIES 3

szymon_dybczak
Contributor III

Hi @swathiG ,

What you are trying to achieve is impossible. You can't restore BAK file into Databricks SQL warehouse. 

BAK files are proprietary files that can only be restored in SQL server databases.

swathiG
New Contributor III

@szymon_dybczak  could you please suggest some other options for how I can proceed to load data from the database?

@swathiG , there are multiple ways. You can use ADF to transfer SQL tables and load them into data lake. Then you can work with them in datbricks SQL warehouse. 

If you want only query those tables you can use lakehouse federation: 

https://docs.databricks.com/en/query-federation/index.html

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group