Adding an Azure backup location

Add an Azure storage account for OpsCenter backups.

Add an Azure Blob storage account for DataStax Enterprise (DSE) OpsCenter backups. You can optionally specify sub folders within the storage container.

Note: DSE OpsCenter does not support backing up to an Azure File Share.
Important: The Backup Service requires control over the data and structure of its destination locations. The backup destinations must be dedicated for use only by OpsCenter. Any additional directories or files in those destinations can prevent the Backup Service from properly conducting a Backup or Restore operation.

Prerequisites

Install the following software on all nodes where DataStax Agents are running to enable backups to Microsoft Azure:
  • Microsoft Azure CLI
    Important: Install Microsoft Azure CLI version 2.0.50. Do not install version 2.0.51 or later. These versions include a breaking change warning that causes OpsCenter backups to Microsoft Azure blob storage to fail.
    When running the command to install Azure CLI, add azure-cli-2.0.50-1.el7.x86_64.rpm to the installation command. For example, run the following command to install Azure CLI version 2.0.51 from an rpm package using apt:
    sudo apt-get install azure-cli-2.0.50-1.el7.x86_64.rpm
    Alternatively, you can specify the Azure CLI version and the operating system distribution. For example, the following command installs Azure CLI version 2.0.51 for Ubuntu Trusty Tahr.
    sudo apt-get install azure-cli=2.0.50-1~trusty

    See the installation instructions for your operating system for detailed procedures.

  • AzCopy CLI
  • Linux distribution dependencies for .NET Core
    Note: The required dependencies vary by Linux distribution. Install the dependencies listed for the distribution on every node where DSE is installed.

Additionally, ensure that the Azure Blob storage account exists prior to adding a backup location in OpsCenter.

Note: You must be the owner of the Azure storage account that you configure as an OpsCenter backup location.

Procedure

  1. Access the Create (or Edit) Backup dialog:
  2. In the Create or Edit Backup dialog, under Location, click +Add Location.
    The Add Location dialog appears.

    Backup service screen for Microsoft Azure

  3. Select Microsoft Azure as the backup Location.
  4. Enter the Storage Account name that OpsCenter backs up to.
  5. Enter the Container Name, which is the name of the Azure Blob where OpsCenter saves backup data.
  6. Optional: Enter a Sub Folder that exists within the Blob storage container. If not specified, OpsCenter uses the root of the Blob storage container.
  7. Enter a Storage Key for the storage container, which is an access key for the storage account that houses the Blob storage container.
  8. Click Save Location.

Results

The specified Azure container is added as a backup location.