1.0 Introduction
This article describes the Fortanix Data Security Manager () Azure Blob Storage backup and restore procedures for a SGX machine using Azure Blob Storage backup type.
2.0 Prerequisites
Perform the following steps to create the storage accounts and containers for backing up the cluster data to Azure Blob Storage:
Create the storage account in Azure portal. For more information on how to create the storage account, refer to the official Azure documentation.

Figure 1: Create storage account
Create the container under the storage account. For more information on how to create a container under the above created storage account, refer to the official Azure documentation.

Figure 2: DSM backup demo page
Navigate to Access Keys and copy the value for Connection Strings. This value will be used in later steps.

Figure 3: DSM access keys page
3.0 Configuring Backup Using Azure Blob Storage
This section describes the steps to configure backups using Azure before or after creating a Fortanix Data Security Manager cluster.
Perform the following steps:
Edit the
config.yamlfile to add the following properties to enable backups in Azure, which is your backup destination. For more information about theconfig.yamlfile, refer to “Section 5.4: Configure Other Nodes for Joining the Cluster“ in the Fortanix Data Security Manager Installation Guide - On-Prem:Refer to the following sample configuration to add
containerandconnection_stringparameters:backup: cron_schedule: "0 0 * * *" backup_mode: "snapshot" exclude_auditlog: true azure: container: "containername" connection_string: "connection_string"NOTE
The value for backup_mode parameter can be either snapshot or cqlsh. However, it is recommended to set the value as snapshot.
By default, all the CRON jobs schedules are in the UTC time zone.
For example:
backup: cron_schedule: "0 0 * * *" backup_mode: "snapshot" // "backup_mode" is optional and "snapshot" is default & recommended exclude_auditlog: true azure: container: "dsmdemo" connection_string: "connection_string"Run the following command to redeploy the cluster to apply changes to the
config.yamlfile:sdkms-cluster deploy --config config.yaml --stage DEPLOYAfter executing the deploy command, the
DEPLOYpod starts or shows the status asRUNNING. Wait until the job is completed and the status changes toCOMPLETED.Run the following command to navigate to
binfolder:cd /opt/fortanix/sdkms/binRun the following command to execute the
run_sdkms_backup.shscript to perform the manual backup:./run_sdkms_backup.shRun the following command to verify the status of the backup:
kubectl logs -l job-name=sdkms-backup-manual
Figure 4: Output of the command
NOTE
Ensure that Cassandra and appropriate data and secrets are backed up to the container as shown in the following image:

Figure 5: Demo continue page
For more information on how to back up the audit log, refer to Fortanix DSM Backup for Audit Log.
4.0 Recovering the Data
For more information on data recovery procedure, refer to the Fortanix DSM Restoration Guide - Automated.