Loading...

Command Line - Microsoft Azure Storage

After generating the chunk files, the recall can be initiated from the command line. For more information on generating the chunk files, see Restoring Data from Archive Cloud Storage Using Command Line.

Note: Once the files are recalled and the corresponding restore operation is completed, the recalled files must be moved back to the respective archive storage using an additional command. The following examples provide the necessary commands with appropriate options for both recalling the files, and moving them back to the respective archive storage.

Windows

CloudTestTool.exe -u <Service Host>//<Account Name> -p <Access Key> -b <Container> -c <Storage Class> -m <recall option> -f "C:\<software_installation_path>\Base\Temp\ChunkList_mountpath_id.txt"

Linux

.\CloudTestTool.exe -u <Service Host>//<Account Name> -p <Access Key> -b <Container> -c <Storage Class> -m <recall option> -f “/opt/commvault/Base/Temp/ChunkList_mountpath_id.txt"

Examples:

  • To recall the files from the Archive Storage Class to Hot Storage:

    Note: To recall the files from Archive storage class to cool storage use the –c 2 option in the following command.

    CloudTestTool.exe -u "blob.core.windows.net//MyAccountName" -p "MyAccessKey" -b "MyContainer" -c 1 -f "C:\Chunklist_path\ChunkList_1539008868_25.txt"

  • To move the recalled files back to the Archive Storage Class:

    CloudTestTool.exe -u "blob.core.windows.net//MyAccountName" -p "MyAccessKey" -b "MyContainer" -c 3 -f "C:\Chunklist_path\ChunkList_1539008868_25.txt"

  • To recall the files from Hot/Archive storage to Hot Storage:

    CloudTestTool.exe -u "blob.core.windows.net//MyAccountName" -p "MyAccessKey" -b "MyContainer" -c 1 –m 2 -f "C:\Chunklist_path\ChunkList_1539008868_25.txt"

  • To move the files back to Hot/Archive Storage:

    CloudTestTool.exe -u "blob.core.windows.net//MyAccountName" -p "MyAccessKey" -b "MyContainer" -c 4 –m 2 -f "C:\Chunklist_path\ChunkList_1539008868_25.txt"

  • To recall the files from Cool/Archive Storage to Cool storage:

    CloudTestTool.exe -u "blob.core.windows.net//MyAccountName" -p "MyAccessKey" -b "MyContainer" -c 2 –m 2 -f "C:\Chunklist_path\ChunkList_1539008868_25.txt"

  • To move the files back to Cool/Archive Storage:

    CloudTestTool.exe -u "blob.core.windows.net//MyAccountName" -p "MyAccessKey" -b "MyContainer" -c 5 –m 2 -f "C:\Chunklist_path\ChunkList_1539008868_25.txt"

    Options

    Description

    -u

    Specify the service host of the storage with the account name.

    Format: <Service Host>//<Account Name>

    Example: blob.core.windows.net//demoaccountname

    -p

    Access Key

    -b

    Container Name

    -c

    Storage Class. Valid Values are:

    1 – Hot

    2 – Cool

    3 – Archive

    4 – Hot/Archive

    5 – Cool/Archive

    -m

    Recall option. Valid value is:

    2 – to recall and move back the files from/to Hot/Archive and Cool/Archive cloud storage.

    -x

    -y

    -z

    When the cloud storage is accessed using a proxy server then the proxy server name and credentials as follows:

    -x <proxy server name>

    -y <user name to access the proxy server>

    -z <password for the user name>

Last modified: 10/14/2019 7:37:15 PM