4
votes

I want to move my old blob storage (with tables) to a new location:

I found how I can move blobs to a new account.

azcopy copy "https://<source-storage-account-name>.blob.core.windows.net/<container-name>/<blob-path>?<SAS-token>" "https://<destination-storage-account-name>.blob.core.windows.net/<container-name>/<blob-path>"

and it's work fine for me, but I need to copy all my tables to new account too.

I found only how I can copy one table to a new account. But I have a lot of tables and can be a problem for me copy one-by-one.

Does Azure have similar commands for copying Azure table storage tables to other blog storage?

I try to use azcopy copy with https://<destination-storage-account-name>.**table**.core.windows.net... but it does not work

3

3 Answers

0
votes

AzCopy v10 doesn't support Azure Table Storage unfortunately. To export/import data from/to Azure Table Storage, you need to use AzCopy v8 instead. Note that it doesn't support direct Table to Table copy, so you need to export the source table to local disk or Blob Storage at first, then import it to another destination table.

0
votes

If you are still looking for a solution for this problem, please look at a package I released on NuGet AzureTableUtilities

You can copy a table to another table on the same account or a different account.

0
votes

IF the destination is a paired region, you could just use a GRS or a RA-GRS storage account. That would take care of a lot of the nuances and consistency issues for you.

For one of our clients, I created this janky little demo which shows it takes about 8 seconds for the RA-GRS storage account, East US 2 to Central, to become consistent.

https://github.com/raycrawford/azure_ragrs_table_demo