To manage a database, you can either use an existing instance or add a new instance.
Before You Begin
Configure the permissions to access the Azure resources. Download the AzureDBBackupRole.json file and use it to apply the permissions.
Procedure
-
From the navigation pane, go to Protect > Databases.
-
On the database Overview page, click Add instance, and then select Cloud database service.
-
On the Add Cloud DB instance page, select Microsoft Azure, and then click Next.
-
On the Configure Azure database page, select MariaDB, and then click Next.
The Configure Azure database - MariaDB page appears.
-
In the Plan section, either select an existing server plan to use for the instance or add a new plan, and then click Next.
-
From the Cloud account list, either select an existing cloud account or add a new cloud account, and then click Next.
Steps to add new cloud account:
-
Beside the Cloud account list, click +.
-
In the Name box, type the name for the account.
-
Enter the information about the subscription:
-
For the traditional authentication method of deployment, enter the following information:
-
Subscription ID: Enter the subscription ID for the Azure account.
-
Credential: select a saved credential or add a new credential.
-
-
For the managed identity authentication method of deployment, configure the following settings:
-
Connect using managed identities for Azure resources: Move the toggle key to the right.
-
Subscription ID: Enter the subscription ID for the Azure account.
-
-
-
From the Access node list, select access nodes that have both the Virtual Server and Cloud Apps packages installed.
Note: If you configure this cloud account to use managed identity authentication, select only Azure access nodes that use managed identity authentication to ensure that backup and restore operations succeed. The access node must be an Azure virtual machine in the same subscription as the Cosmos DB account that you want to back up.
-
Click Save.
-
-
On the Cloud database instance details page, enter the following details:
-
From the Instance name list, select an instance.
-
Under the Connection details section, enter the following details:
-
In the Database user box, type the user name to access the Azure Database for MariaDB application.
-
In the Password box, enter the password to access the Azure Database for MariaDB application.
-
In the Confirm password box, reenter the password to access the Azure Database for MariaDB application.
-
In the Endpoint box, type the name of the endpoint to connect to the database instance.
-
If SSL is enabled on the cloud, move the Use SSL options toggle key to the right, and then in the SSL CA file box, enter the SSL CA file path in the proxy computer.
-
-
-
Click Next.
-
On the Backup Content page, to filter the content that is backed up, click Edit, select or clear the tables, and then click Save.
-
On the Summary page, review the summary, and then click Finish.
Results
The new instance contains a default database group. The default database group includes all the data in the Microsoft Azure Database for MariaDB database. You cannot delete the default database group.