I have two subscriptions on Azure, for the ease of argument, lets call them subscription1 and subscription2.
I have a SQL database of size 30 GB on subscription 1, and I want to move it to subscription2.
One way is to take a backup of the database (using export option on azure portal), move the bacpac file to subscription 2 using e.g storage explorer, and importing thus bacpac file to the destination server on subscription2. However, the backup and restoration process take a lot of time when the database size is too large.
So, I came up with using Transact-SQL approach, as given in this article
Using SSMS, I use the following command in the master database of destination server (server2) to copy the database from source server (server1 in subscription1) to destination server (server2 in subscription 2)
CREATE DATABASE Database2 AS COPY OF server1.Database1;
Both the servers have same login credentials so this process works, as given in the article above, and I have tested it for very small database (for testing purposes)
My question is, when I will be copying my database that is of size 30 GB as mentioned above using the Transact SQL approach, will it be using my internet bandwith, or the bandwidth of azure data centers?, just like when we use copy option from the portal