Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Data Studio - Why Is Restore Option Missing Entirely?

I am doing a simply .bak restore using Azure Data Studio.

Following the instructions available here.

https://learn.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver15&tabs=data-studio#tabpanel_1_data-studio

enter image description here

However, on my Mac, I dont get that option at all.

enter image description here

I dont understand. is the backup option facility not available in Azure Studio anymore?

Note:

Azure Data Studio details.

Version: 1.27.0
Commit: 765c7064d46253d88393e0e1ff78874b6fe8fa64
Date: 2021-03-16T21:18:54.187Z
VS Code: 1.51.0
Electron: 9.4.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 20.2.0
like image 540
Jay Avatar asked Oct 19 '25 03:10

Jay


2 Answers

I got the same issue on my Mac. When i connect to the local database server (without selecting a database) i get the option to export / import by right clicking the database name. This however don't work when connecting to an Azure Database server

A workaround is to install the "SQL Server Dacpac" extension from Microsoft from the marketplace inside Azure Data Studio. Then you can export and import from bacpac files using the Data-tire Application Wizard

enter image description here

like image 155
jarlef Avatar answered Oct 22 '25 05:10

jarlef


The restore option is available as a Preview Feature. You can enable this from Settings -> Workbench: Enable Preview Features. Once enabled, right click on the Databases from the connected Server you can now see the Restore Database(preview) option. I could successfully restore from a backup file. Azure Data Studio v 1.48.0

like image 27
abdulk M Avatar answered Oct 22 '25 04:10

abdulk M



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!