# Permanently Moving Data Between Microsoft Azure Storage Tiers

You can permanently move the data residing in Microsoft Azure store tier to another Azure store tier.

The process involves the following steps:

- Contact the storage vendor and create the new storage class in cloud storage.

- Recall the existing data from the current storage tier to the new tier. For example, from Archive tier to Hot or Cool tier in Microsoft Azure.

- Run a command to permanently move the data to the appropriate new class.

- For new data, change the storage class in the cloud storage library as described in Migrating Data Between the Storage Classes in a Cloud Storage Library.

## Procedure

### Microsoft Azure Storage

1. Identify the bucket/container name and mount path base folder for the data that must be moved.

   You can view the BucketName/ContainerName and the MountPathBaseFolder from the Mount Path Properties (General) dialog box in the CommCell Console.

2. Create text file with the path to the data residing in the cloud depending on the number of mount paths that must be moved:

   - If you have multiple mount paths on the same bucket/container, then add the bucket/container and the mount path base folder as follows:

          $[BucketName]\$[MountPathBaseFolder]\
         $[ContainerName]\$[MountPathBaseFolder]\

     Example:

         $[MyBucket]\$[E3TLWT_11.01.2017_03.09]\
         $[MyContainer]\$[E3TLWT_11.01.2017_03.09]\

   - If you have just one mount path, then add only the bucket/container name as follows:

          $[BucketName]\
         $[ContainerName]\

     Example:

         $[MyBucket]\
         $[MyContainer]\

     Note

     Make sure to include the backslash (\) at the end.

3. Navigate to the following folder:

       $[software installation directory]\Base

   Example:

       $[c:\Program Files\Commvault\ContentStore]\Base

4. From the command prompt, run the CloudTestTool with the following parameters, to restore the data from the current storage to the desired storage:

        CloudTestTool.exe -h $[ServiceHost] -u $[AccountName] -p $[AccessKey] -b $[Bucket/Container] -f "$[InputFileName]" -m $[#] -o $[changeTier] -T

   Options | Description
   --- | ---
   -h | Service host name. Example: blob.core.windows.net
   -u | Account name used for the storage account.
   -p | Secret access key.
   -b | Bucket Name/Container Name
   -f | Full path and name of the input file created in step 1.
   -T | The target storage tier to which the data must be recalled. Valid Values are: 1 – Hot 2 – Cool 3 – Archive 16 - Cold
   -m | Recall metadata options. Valid values are: 1 – Chunk Meta Data only 2 – SFILE only 3 – non SFILE 0 – All

   Example:

       CloudTestTool.exe -h $[blob.core.windows.net] -u $[MyAccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -f "$[C:\Program Files\Commvault\ContentStore\Base\Temp\ChunkList.txt]" -m $[0] -o $[changeTier] -T $[1]

   This will start the process of recalling the data from the current storage tier to the target tier specified in the command.

   Note

   Depending on the amount of data, and the tier, this process may take some time to complete. For example if you are moving the data from an archive tier, the process will depend on the recall mode.

   Once the data is recalled, the `list.txt.ChangeList.txt` file will be created, with a complete list of files that was recalled. This file will be saved in the same folder specified for the input file.

5. Permanently convert the storage class using the following command:

        CloudTestTool.exe -h $[ServiceHost] -u $[AccountName] -p $[AccessKey] -b $[Bucket/Container] -f "$[InputFileName]" -o $[changeTierFullList] -f $[full path]\list.txt.ChangeList.txt

   Example:

       CloudTestTool.exe -h $[blob.core.windows.net] -u $[MyAccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -o $[changeTierFullList] -f $[C:\Program Files\Commvault\ContentStore\Base\Temp\list.txt.ChangeList.txt] -T $[1]

   Once the command is completed successfully, you can view the storage tier for the data using the Cloud Storage Explorer tool. For more information about this tool, see Starting the Cloud Storage Explorer Tool.

### Moving Azure Tier Data to Azure COLD Storage Tier

Run the CloudTestTool with required parameters to move:

- All the data to COLD tier

      CloudTestTool.exe -h $[blob.core.windows.net] -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 0 -o $[changeTier] -T $[16]

- Only chunk metadata to COLD tier

      CloudTestTool.exe -h $[blob.core.windows.net] -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 1 -o $[changeTier] -T $[16]

- Only SFILE to COLD tier

      CloudTestTool.exe -h $[blob.core.windows.net] -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 2 -o $[changeTier] -T $[16]

- Only non-SFILE to COLD tier

      CloudTestTool.exe -h $[blob.core.windows.net] -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 3 -o $[changeTier] -T $[16]

### Moving Azure Tier Data to Azure HOT Storage Tier

Run the CloudTestTool with required parameters to move:

- All the data to HOT tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 0 -o $[changeTier] -T $[1]

- Only chunk metadata to HOT tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 1 -o $[changeTier] -T $[1]

- Only SFILE to HOT tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 2 -o $[changeTier] -T $[1]

- Only non-SFILE to HOT tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 3 -o $[changeTier] -T  $[1]

### Moving Azure Tier Data to Azure Cool Storage Tier

Run the CloudTestTool with required parameters to move:

- All the data to Cool tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 0 -o $[changeTier] -T $[2]

- Only chunk metadata to Cool tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 1 -o $[changeTier] -T $[2]

- Only SFILE to Cool tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 2 -o $[changeTier] -T $[2]

- Only non-SFILE to Cool tier

      CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[SecretKey] -b $[ContainerName] -f $["C:\ChunkListFileName.txt"] -m 3 -o $[changeTier] -T $[2]

### Permanently Moving Data from Azure Archive Tier to Hot Tier

Recall the data from Archive storage class to Hot tier using the following command:

    CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -f $["C:\Program Files\Commvault\ContentStore\Base\Temp\ChunkList.txt"] -m 0 -o $[changeTier] -T $[1]

Note

Depending on the amount of data, and the tier, this process may take some time to complete. For example, if you are moving the data from an archive tier, the process will depend on the recall mode.

Once the data is recalled, the `list.txt.ChangeList.txt` file will be created, with a complete list of files that was recalled. This file will be saved in the same folder specified for the input file.

Permanently convert the storage class using the following command:

    CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -o $[changeTierFullList] -f $[C:\Program Files\Commvault\ContentStore\Base\Temp\list.txt.ChangeList.txt] -T $[1]

### Permanently Moving Data from Azure Archive Tier to Cool Tier

Recall the data from Archive storage class to Hot tier using the following command:

    CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -f $["C:\Program Files\Commvault\ContentStore\Base\Temp\ChunkList.txt"] -m 0 -o $[changeTier] -T $[2]

Note

Depending on the amount of data, and the tier, this process may take some time to complete. For example if you are moving the data from an archive tier, the process will depend on the recall mode.

Once the data is recalled, the `list.txt.ChangeList.txt` file will be created, with a complete list of files that was recalled. This file will be saved in the same folder specified for the input file.

Permanently convert the storage class using the following command:

    CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -o $[changeTierFullList] -f $[C:\Program Files\Commvault\ContentStore\Base\Temp\list.txt.ChangeList.txt] -T $[2]

### Permanently Moving Data from Azure Archive Tier to COLD Tier

Recall the data from Archive storage class to Hot tier using the following command:

    CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -f $["C:\Program Files\Commvault\ContentStore\Base\Temp\ChunkList.txt"] -m 0 -o $[changeTier] -T $[16]

Note

Depending on the amount of data, and the tier, this process may take some time to complete. For example if you are moving the data from an archive tier, the process will depend on the recall mode.

Once the data is recalled, the `list.txt.ChangeList.txt` file will be created, with a complete list of files that was recalled. This file will be saved in the same folder specified for the input file.

Permanently convert the storage class using the following command:

    CloudTestTool.exe -h blob.core.windows.net -u $[AccountName] -p $[AbCdEf@aBcDeF] -b $[SalesContainer1] -o $[changeTierFullList] -f $[C:\Program Files\Commvault\ContentStore\Base\Temp\list.txt.ChangeList.txt] -T $[16]

## What to Do Next

After moving the existing data, update the storage class in the library to point to the new storage tier. This configuration ensures that all new data is written to the new tier. For more information, see Modifying the Storage Class for an Existing Cloud Library.

×

Loading...