Transferring all data from one subscription to another

前端 未结 4 1348
面向向阳花
面向向阳花 2021-02-05 22:08

How do I transfer my all of my cloud services, databases, virtual machines and blob storage to another subscription that I newly subscribed to? Is there a simpler way?

相关标签:
4条回答
  • 2021-02-05 22:22

    THIS SOLUTION IS NO LONGER AVAILABLE Here's the documentation that covers moving data and services from one subscription to another subscription:

    http://msdn.microsoft.com/en-us/library/azure/dn736051.aspx. The previous link posted here went to a page that has been retired.

    0 讨论(0)
  • 2021-02-05 22:23

    You can use DC Migration Tool, an open source tool to copy azure resources from one subscription to other subscription across data centers as well.

    Azure Data Center Migration Tool Blog http://blog.persistentsys.com/index.php/2015/01/06/persistent-systems-releases-azure-data-center-migration-solution/

    0 讨论(0)
  • 2021-02-05 22:28

    I have just contact Azure Support about this. Their answer:

    [Azure Support] will be able to migrate the Windows Azure data (hosted services, storage accounts), VM instances, service bus, Web Sites from source to destination subscription... Please note that the Preview feature services are not supported for migration, however we can do it on a trial an error basis.

    So it seems this can be done via support now. The big caveat is that it's (currently, at least) an all-or-nothing move. So you can't move everything except for one service, or one storage account, etc. You have to move everything.

    Note that moving a SQL Azure server is trivially done through the management portal.

    Update: I have completed a subscription transfer as mentioned above. The actual transfer was a fairly painless process that only took a few hours. Getting all the various services split out into separate subscriptions was quite painful. So the moral of the story is to be careful about what services you put into a subscription. If at all possible put each "product" (website, SaaS offering, whatever) into a separate subscription.

    0 讨论(0)
  • 2021-02-05 22:33

    UPDATE: 6-JUN-2016 - THIS ANSWER IS FAIRLY OLD. ONE MUST REACH OUT TO AZURE SUPPORT FOR TRANSFERRING DATA FROM ONE SUBSCRIPTION TO OTHER. ALSO AZURE PORTAL NOW SUPPORTS MOVING SERVICES FROM ONE SUBSCRIPTION TO ANOTHER


    There're a few (actually a lot :)) things here. You could try contacting Windows Azure Support and have them move it but I wouldn't hold my breath for that. Only other option left would be to manually transfer all the assets. However please keep in mind that this would mean your services will be down for certain amount of time.

    1. Cloud Services - Since a cloud service is essentially a placeholder for your applications, you would need to delete them 1st from the 1st subscription (source) and then recreate them in the 2nd subscription (target). Once you have created them in the target subscription, you can republish/redeploy your applications.

    2. Databases - Do take a look at Copy Database functionality (http://msdn.microsoft.com/en-us/library/windowsazure/ff951624.aspx) and Import/Export SQL Azure Databases (http://msdn.microsoft.com/en-us/library/windowsazure/hh335292.aspx) available in Windows Azure. I have tried it to create copies

    3. Virtual Machines - Essentially Virtual Machines are backed by blob storage i.e. all the VHDs for your VMs are stored as page blobs in blob storage. Do take a look at this blog post for moving VMs from one subscription to another: http://gauravmantri.com/2012/07/04/how-to-move-windows-azure-virtual-machines-from-one-subscription-to-another/

    4. Blob Storage - With the latest release, copy blob functionality is a server side asynchronous operation. What that means is that you could copy blobs from one storage account to another without downloading them on your computer first. The idea is to list blob containers and blobs in source and then iterate over them and repeatedly call copy blob functionality to copy the blobs. The blog post above has a sample console application which copies a blob from one storage account to another which you can use as reference. The only catch here is that the target storage account must be created on or after 7th June 2012. You may find following links useful as well: http://blog.elastacloud.com/2012/07/04/copying-azure-blobs-from-one-subscription-to-another-with-api-1-7-1/ and http://blogs.msdn.com/b/windowsazurestorage/archive/2012/06/12/introducing-asynchronous-cross-account-copy-blob.aspx

    Hope this helps.

    0 讨论(0)
提交回复
热议问题