Lift and Shift with dbatools - Azure SQL Managed Instance edition
summary
dbatools (650+ commands) automates lift‑and‑shift from on‑prem SQL Server 2022 to Azure SQL Managed Instance using PowerShell: create managed identity for blob access instead of SAS, add Storage Blob Data Contributor role, run Backup‑DbaDatabase to Azure and Restore‑DbaDatabase into MI (backups must be copy only), or automate online migration by provisioning a distributed availability group (MI link) and performing a safe failover; demos succeed but require extra Azure role assignments, Azure modules and occasional connection tweaks (MARS / permissions).
AI-written summary · about
chapters (7)
- 0:00dbatools and Azure SQL MI
- 7:55SQL credential management
- 15:28Offline migration to Azure SQL MI
- 24:49Backup and restore between MI and on-prem
- 36:25Round-trip migration and verification
- 37:30Automating MI Link setup
- 46:08Closing and Q&A
related talks
44mAnthony's Favorite dbatools cmdlets and Use Cases
20mSQL Server 2022 migrations with dbatools
44mMy romantic relation with Powershell generally and DBATools especially
01h 00mLet's Get Scary and Continuously Deploy Database Changes!
36mSQL Server Configuration with dbatools & dbachecks
22mFlight of Innovation: Enhancing On-Prem and Multi-Cloud SQL Instances with a Cloud Cockpit
49mSQL Server and Windows Server Better together on Azure
01h 05mCreating Azure SQL Database Users Programmatically using Azure DevOps
