Azuresql DB Import

Imports an existing Azure SQL Database or SQL Server schema and data INTO the local Azure SQL Database container using SqlPackage. Use when asked to "import a bacpac", "load my existing database locally", "restore a dacpac into the container", "bring my prod schema into the dev container", "run my .bacpac/.dacpac against the local Azure SQL engine", or migrate an existing database into the preview container. Handles provisioning the target database on master first, then running SqlPackage /Action:Import against the provisioned user database. Use this for any "get my real database running in the container" request instead of hand-writing SqlPackage flags.

Microsoft 2176c76 3 files · 25.2 KB Updated 2.7k repo stars

File contents

microsoft/azure-sql-database-container/tree/main/skills/azuresql-db-import commit 2176c76543

Frequently asked questions

npx skillmds@latest add microsoft/azuresql-db-import