| services | Azure Arc enabled SQL Server |
|---|---|
| platforms | Azure |
| author | anosov1960 |
| ms.author | sashan |
| ms.date | 12/08/2020 |
Use the following steps to migrate your existing SQL Server - Azure Arc resources from Microsoft.AzureData namespace to Microsoft.AzureArcData namespace.
-
Launch the Cloud Shell. For details, read more about PowerShell in Cloud Shell.
-
Upload the script to the shell using the following command:
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/manage/azure-arc-enabled-sql-server/migrate-to-azure-arc-data.ps1 -o migrate-to-azure-arc-data.ps1 -
Run the script.
./migrate-to-azure-arc-data.ps1
Note
- To paste the commands into the shell, use
Ctrl-Shift-Von Windows orCmd-von MacOS. - The script will be uploaded directly to the home folder associated with your Cloud Shell session.
- The script will prompt for the resource group name and print a message when migration is completed.