3

I'm trying to use Azure Data Studio for Mac, I need to restore a databse using a .bak file, I have that file in finder, but when I click restore I click on "Restore from" choose Backup file, then "Backup File path" click on "..." but it never open the explorer to browse the file.

Backup File path window"

I can't realize how to use this, can you please help me with this?

Derviş Kayımbaşıoğlu
  • 28,492
  • 4
  • 50
  • 72
diego muñoz
  • 43
  • 1
  • 5
  • You don't "browse" a backup file, you restore it onto a SQL Server instance. If your using a Mac that'll either be the instance you're running in Docker, or on a remote host (not running OS X). – Thom A Feb 06 '19 at 13:53
  • yes, this is a SQL Server instance I'm running in Docker. I need to use a .bak file I have in a share directory I can access through finder in Go menu >> Connect to server, is there a way to do this? – diego muñoz Feb 06 '19 at 14:05
  • 3
    So you can see the file from Docker? Your SQL Server Instance is running in a container, it can't "see" the same things you can on your host OS. YOu need to copy the backup file to the container: [Copy a backup file into the container](https://learn.microsoft.com/en-us/sql/linux/tutorial-restore-backup-in-sql-server-container?view=sql-server-2017#copy-a-backup-file-into-the-container) (or map the share on Docker as well). – Thom A Feb 06 '19 at 14:09
  • Using the link you provided I was able to solve the issue, thanks a lot. – diego muñoz Feb 06 '19 at 20:32

0 Answers0