-
Notifications
You must be signed in to change notification settings - Fork 877
Why Is Restore Option Missing Entirely? #14814
Replies: 1 comment · 10 replies
-
Currently the backup/restore feature does not support Azure SQL DBs. You can configure backup retention and restore from the Azure portal : https://docs.microsoft.com/en-us/azure/azure-sql/database/recovery-using-backups |
Beta Was this translation helpful? Give feedback.
All reactions
-
I apologise and I dont mean to be rude. My question seems to be continuously misunderstood, consistently. My issue (and I thought its obvious from the pictures) is that I am not getting the options as per the tutorial linked images. My question is not about this - "Restoring a database from a BAK file is not supported for Azure SQL servers ". Thats really irrelevant right now. Really, it's okay. a client of mine wanted to do SQL stuff on Mac. I suggested Azure Studio, but now, both client and me have reverted to SQL Management Studio on Windows. Let's table this for later. I am in the middle of the project and I cannot troubleshoot and follow up with steps right now. Thank you for trying to help me, but really, Azure Studio is just not ready for production use, is the conclusion I draw from our conversation. Me and My client will return to Azure Studio a few months later :) For now, we are happy with SQL Management Studio. Thanks again. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I apologies for the difficulties here @Jay-study-nildana - there does seem to be some miscommunication happening. I appreciate your patience, and if possible would love to help figure out whether we have a gap in our offerings for ADS that isn't fully documented. The documentation doesn't seem to mention that backup/restore for an Azure DB is not currently possible and so I will definitely work to get that updated. But I also want to make sure we're not missing any other scenarios that you might have ran in to. In your screenshot the dashboard shows that the database you're connected to is indeed an Azure SQL Instance : If that is the case then doing backup/restore from the GUI in both SSMS/ADS is impossible - the option should not be showing up in either tool. Your response seems to indicate that you're able to successfully use SSMS to initiate the backup/restore though - is this the case? If so running |
Beta Was this translation helpful? Give feedback.
All reactions
-
@Jay-study-nildana - thanks for walking through these scenarios. I wanted to peel back 1 layer that is combined above - bak and bacpac files. bak files are a backup type and format specific to SQL Server and are not supported in Azure SQL DB. The dashboard interface for backup/restore uses this bak file type. bacpac files are supported in both SQL Server and Azure SQL DB, however to work with these files in Azure Data Studio you will need to install the extension "SQL Server Dacpac". <-- you want to install this to restore your Azure SQL DB from the bacpac file you have |
Beta Was this translation helpful? Give feedback.
All reactions
-
Part One There is no need for apologies. We are all just trying to get work done. It's all cool for me. It's not like any of this is affecting work. My client and I are big fans of Management Studio. Old is gold, as the saying goes :P But, like any responsible developer, I like to try out a few new things. I think the issue really boils down to "there does seem to be some miscommunication happening" The official documentation pages try to sell you and make you believe that Azure Studio is primed to take over some basic tasks currently being done by Management Studio. Perhaps I am reading too much into the documentation but as a user of .NET for more than 20 years, having lived through the MSDN days of documentation, I think I can read and understand documentation just fine. I would like to think restoring a simple .bacpac file (Let's forget about .bak for now. It's fine) to the standard azure sql service should be like the first thing that a 'supposed' replacement to management studio should be able to do. I think, the messaging is not correct. It's not pointing out the obvious and the images clearly dont make any sense. For example, why put a cropped photo of just the 'restore' portion of the total image. That's never a good idea. Why not put both the full image of the application (so we can see all the options that are selected) and also the cropped image? [I understand the documentation is open source. I got one or two commits on Microsoft Docs myself, where previously, I found some issues and my pull requests were accepted. I was hoping to updated this image myself, add necessary clarity until, I ran into the very issue we are discussing] I prepare documentation for my clients, and I put an image like that, I would get dinged for sure. I would get a lot of complaints. Part Two Actually, "doing backup/restore from the GUI in both SSMS/ADS is impossible" - This is absolutely correct. On Management Studio,
I suppose, this is what I was hoping for in Azure Data Studio. Perhaps, I should not be expecting this. However, as I have mentioned before, my issue is not if I can restore .bak or .backpac files. We haven't reached that stage yet. My issue remains, the buttons to do the restore (.bak or .bacpac or .xyzsomethingsomething), are simply missing from the tool entirely. And yes, I am okay if the issue is not resolved or no solution exists. It's totally cool folks. Lastly, I just want to add that, my client has removed Azure Data Studio from her computer. However, I am now using it on both of my Macs on a regular basis. Albeit, with the understanding that, back up and restore, I will still need to use my old trusty Dell, he he :) The Data Studio super fast and super lightweight. and it look's cool. I frequently have to engage with young college kids on training sessions. They look at Management Studio and they will go, "Dude, what is this old thing?". Kids you know, thats how they are. But now, Azure Data Studio. It's good. The kids like it a lot. They still complain about having to write SQL queries, but at least, they are not complaining about the looks of the tool. With all due respect, Management Studio, is from the old days days. Just like Visual Studio, it's large and resource heavy, but very powerful, of course. It's all good from my side. Backup and Restore is something I do once in a few months. I really dont mind if that feature never comes to Azure Studio. |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
"you will need to install the extension "SQL Server Dacpac"" I will look into this the first chance I get off from work this week. I will update with my results. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I hope its okay to link stack overflow here. It has images and everything.
https://stackoverflow.com/questions/66723032/azure-data-studio-why-is-restore-option-missing-entirely
I simply dont get the "Restore Option" on Azure Data Studio. What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions