Installation of shared volume driver like flocker

@alexsandro you can backup all data from cloudstor through the following steps:

  1. Identify the Storage Account backing the volume data from cloudstor volumes in the original resource group. [see **1 below]
  2. AzCopy the file shares (corresponding to the volumes) from [1] to your backup storage account. [see **2 below]
  3. When deploying a fresh resource group, identify the Storage Account that will be used by cloudstor in that resource group similar to [1].
  4. AzCopy the file shares from [2] to [3]. [see **2 below]
  5. Restore your volumes from [4] by simply recreating the volumes you need with the same exact names as before. If you specifed a share option originally for certain volumes, you will also need to specify that when restoring and the name of the volume does not need to match the original. cloudstor will attach the new volumes to the data from the existing file shares based on the names if no share option was specified or using the share option if it was specified.

**1 The data managed by Cloudstor for Azure today is all stored in a single Storage Account in File Shares. You can find the Storage Account used by cloudstor using the command:

docker inspect cloudstor:azure | grep AZURE_STORAGE_ACCOUNT=
**2 AzCopy /Source:https://myaccount1.file.core.windows.net/myfileshare1/ /Dest:https://myaccount2.file.core.windows.net/myfileshare2/ /SourceKey:key1 /DestKey:key2 /S

1 Like