Skip to content

Instantly share code, notes, and snippets.

@nanusdad
nanusdad / MSSQL-backup-restore-on-MacOS.md
Last active July 18, 2025 18:19
Restoring MSSQL backup file on MacOS and querying data

MSSQL commands on Azure Data Studio

To read a .bak file from a MS SQL Server database on MacOS, one has to run MS SQL server using Docker and then use Azure Data Studio to access / query the database after restoring it.

Installing Docker image

You need to have Docker installed. Docker Desktop for MacOS is available at this link.

Once installed run the following commands.

# Pull latest image