I cannot see restore option in azure studio in mac?

Avinab Das 0 Reputation points
2024-12-21T18:51:06.77+00:00

Hello everyone I am trying to restore a database in SQL server using Azure Data Store but I cannot see the Restore option in my Azure Data Store studio.

User's image

I even tried "Enabled Preview Feature" option

User's image

How can I fix it or is there other version I should install. Thanks

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,213 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
124 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 114.6K Reputation points MVP
    2024-12-21T18:59:12.53+00:00

    I guess this could be because you are using the SQL Edge edition, and Azure Data Studio may not be geared up for support of Restore on Edge yet. Restore Database comes up as a preview feature in my Azure Data Studio (on Windows for regular SQL Server.)

    But you can always restore a database like this:

    RESTORE DATABASE mydb FROM DISK  = 'yourpath'
    

    If the backup comes from elsewhere or you want to restore the backup under a different name, you need to add the WITH MOVE clause to specify the location of the database files.

    At this applies to "regular" SQL Server. I have not worked with the Edge version, but I would expect the RESTORE command to be the same, at least for the basic stuff.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.