0
votes

I have created a new subscription in azure and want to transfer all the SQL data from the Old subscription to the new One. Is there any ways I can do it through azure portal?

3

3 Answers

1
votes

Yes, you can move all of you Azure SQL resource to another subscription on Portal.

Go to your Resource Group, Move--> Move to another subscription:

enter image description here

Select the Azure SQL resource and the subscription you want to move to:

enter image description here

Update:

Congratulations that saon have solved this with Azure SQL Sync features.

Hope this helps.

0
votes

You can try the following steps

Step 1 : Create a new Azure SQL Server on a different resource group.

New-AzureSqlDatabaseServer -Location "West US" -AdministratorLogin "AdminLogin"  -AdministratorLoginPassword "AdminPassword"

Step 2 : Copy the source database to the newly created Azure SQL Server.

Start-AzureSqlDatabaseCopy -ServerName "SourceServer" -DatabaseName "Orders" -PartnerServer "NewlyCreatedServer" -PartnerDatabase "OrdersCopy"

Step 3 : Move the resource group of the Newly created Azure SQL Server to another subscription.

Move-AzureRmResource -DestinationResourceGroupName [-DestinationSubscriptionId ] -ResourceId