Add an Azure Backup Location in Portworx Backup
Microsoft Azure offers multiple discrete cloud platforms; Azure Global and Azure China are two among them. Azure Global is the standard Microsoft Azure platform that is available worldwide in the data centers around the world. Azure China is a specialized and localized version of the Azure platform available only in China tailored to meet the country's regulatory requirements.
Starting from Portworx Backup 2.7.1, you can add Azure China based backup location through the web console with minimal prerequisites.
Add an Azure Global backup location
You can add an Azure global backup location in Portworx Backup.
To add an Azure global backup location, follow these steps:
-
Log in to the Portworx Backup UI.
-
From the left navigation pane, click the Cloud Settings icon
and select the Backup Locations tab. -
Click Add Backup Location.
-
On the Add Backup Location page, select the Object Store option and specify the following information:
- Name: Enter the name for the backup location.
- Cloud Account: Select the Azure credentials.
- Path/Bucket: Specify the path or bucket name.
- Encryption key (Optional): enter the optional encryption key to encrypt your backups in-transit. For more information on encryption support, refer Encryption matrix.
- Azure Environment: Select Azure Global.
- Resource Group Name: Enter the name of the Azure resource group. This field is mandatory to add an immutable Azure backup location.
-
Click Add.
The Azure global backup location is added in Portworks Backup.
Add an Azure China backup location
You can add an Azure China backup location in Portworx Backup.
Prerequisites
Ensure that the following prerequisites are met before you add an Azure China backup location:
-
Stork version 24.2.1 and above
-
(Optional) If you have deployed Portworx on any of your Azure application cluster, then you need to update the AZURE_ENVIRONMENT environment variable of Portworx STC with the value specified below. Note that you need to update this environment variable only if the application cluster is based out of China. You can update this environment variable with the value specified below either while bringing up your application cluster or after the application cluster is up.
AZURE_ENVIRONMENT: AzureChinaCloudDefault value of this variable value will be set to
AzurePublicCloud.note- Portworx service restarts after you update the environment variable.
- Portworx Backup does not support cross-region backups of Portworx volumes. Hence, you need to ensure that the cluster region and the backup location region remains the same before creating a backup of Portworx volumes.
Procedure
To add an Azure China backup location, follow these steps:
-
Log in to the Portworx Backup UI.
-
From the left navigation pane, click the Cloud Settings icon
and select the Backup Locations tab. -
Click Add Backup Location.
-
On the Add Backup Location page, select the Object Store option and specify the following information:
- Name: Enter the name for the backup location, Portworx Backup displays this name as backup location name in the web console.
- Cloud Account: Select the Azure credentials this backup location will use to create backups.
- Path/Bucket: Enter the path of the bucket or the name of the bucket that this backup location will place backups into.
- Encryption key (Optional): enter the optional encryption key to encrypt your backups in-transit. For more information on encryption support, see Encryption matrix.
- Azure Environment: This drop-down lists two regions, select Azure China to add your backup location based out of China.
- Resource Group Name: Enter the name of the Azure resource group. This field is mandatory to add an immutable Azure backup location.
-
Click Add.
The Azure China backup location is added in Portworks Backup.
Related Videos