The Databases guided setup guides you through creating a server plan and adding a SQL database server.
Go to the Databases Guided Setup
From the navigation pane, go to Guided setup.
The Welcome page appears.
On the Protect tab, click the Databases tile.
The Databases guided setup appears.
Create a Server Plan That You Can Use for the Azure SQL Managed Instances
The server plan defines how often the software backs up the database and the log files, and where it stores the backups.
If you already have a server plan that you can use, you can skip this step.
Before You Begin
To create a server plan, you must have the Plan Creator Role assigned to your user account.
On the Create server backup plan page, click Create a new plan, and then specify the settings for a server plan that you can use for the SQL Server instance.
Choose whether to create a new plan or use a base plan.
In Plan name, enter a name for the server plan.
Click Add copy.
The Add copy dialog box appears.
In Name, enter a name for the backup destination.
From the Storage list, select the storage to use for the backups.
If you selected storage that uses Distributed Storage, the Optimize for instant clone toggle key appears. By default, this setting is turned on to allow the associated Distributed Storage to optimize backups for clones, using Copy Data Management. To turn off the setting, move the Optimize for instant clone toggle key to the left.
The setting does not apply to HyperScale solutions that use Distributed Storage.
You can use the MRR cool storage class (Metallic Recover Reserve) for creating secondary copies, but not for creating primary copies.
To specify the start time for backups on a specific date and later, move the Backups On and After toggle key to the right.
For Retention rules, enter the amount of time to retain the backups.
To specify additional backups, such as weekly full backups, move the Extended retention rules toggle key to the right, and then add rules.
To add additional regions to the backup destination, move the Multi-region toggle key to the right, and then select the regions.
You can also add more regions and associate the storage copy to the region.
For Backup frequency, click Add.
The Add backup frequency dialog box appears.
From the Backup type list, select the backup type, and from the for list, select All agents or Databases.
Specify the frequency of the backup.
To specify the client time zone or to add exceptions, move the Advanced toggle key to the right.
From the time zone list, select the time zone according to which the backups must run.
To add exceptions when backups must not run, click Exceptions and add exceptions for any day or week of a month.
These exceptions will repeat every month.
For Backup window (if incremental and differential backups are supported for the workload), specify when you want incremental and differential backups to run.
For Full backup window, specify when you want full backups to run.
Folders to back up
To back up only some content, in Content to back up, enter the content to back up.
By default, all content is backed up.
To exclude folders or files from the backup, in Exclude - files/folders/patterns, enter the content to exclude.
Specify whether to include the system state in backups:
To include the system state in all backups, move the Back up system state toggle key to the right.
To include the system state only in full backups, select the Back up system state check box and the Only with full backup check box.
To use Windows Server's VSS (Volume Shadow Copy Service) to back up the system state, select the Use VSS for system state check box.
Under Snapshot options, do the following:
Specify how to retain snapshots:
To specify a number of jobs to retain on a snapshot copy, select Number of snap recovery points, and then enter the number of jobs to retain.
To specify a retention period, select Retention period, and then enter the amount of time to retain the jobs.
If you don't want to create backup copies, move the Enable backup copy toggle key to the left to turn it off.
For Backup copy frequency, enter how often to run backup copy jobs.
Under Database options, do the following:
For Log backup RPO, enter how often to run log backups.
To automatically back up the database logs to the MediaAgent cache, do the following:
Move the Use disk cache for log backups toggle key to the right.
For Commit, enter how often to commit the logs to the CommServe computer.
Disk caching of database logs applies to the following: Informix, Microsoft SQL Server on Windows, Oracle, Oracle RAC, and SAP HANA.
Leave the Allow plan to be overridden check box cleared.
Add a Database Server for Azure SQL Managed Instance
On the Add database servers page, from the Application type list, select Cloud DB.
From the Select vendor list, select Microsoft Azure.
From the Database service list, select SQL server.
Beside Cloud account, click Add.
The Add cloud account dialog box appears.
In the Name box, enter a name for the new cloud account.
To connect to the Azure account using managed identities, move the Connect using managed identities for Azure resources toggle key to the right.
For more information about setting up managed identities for Azure, see Setting up Managed Identity Authentication for Azure Resource Manager.
In the Subscription ID, Tenant ID, Application ID, and Application password boxes, enter the details that you need to access data on the Azure cloud.
For instructions about accessing this information from the Azure portal, see SQL Server Azure Cloud Connection Properties.
Note: If you enabled connecting to the Azure account using managed identities, you need only the subscription ID.
From the Access nodes list, select the access nodes to use for the managed instance.
You can add multiple access nodes to discover instances and databases. The Commvault software uses only the first proxy server in the list.
Under Connection details, enter the following information:
In the Storage Connection String box, enter the string that you use to access data in the Azure storage account.
In the User name, Password, and Confirm password boxes, enter the credentials of a Windows user account that has permission to perform all operations, including backup, restore, and browse operations.