The Databases guided setup guides you through creating a server plan and adding a DB2 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 DB2
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.
Procedure
-
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 DB2 instance.
-
Settings
Steps
Plan name
-
Fill in the following plan information:
-
Choose whether to create a new plan or use a base plan.
-
If you selected Create a new plan, in the Plan name, enter a name for the server plan.
-
If you selected Use existing base plan, specify the plan name and select a base plan.
-
Backup destinations
-
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.
You can use the Air Gap Protect cool storage class 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.
-
Click Save.
-
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.
RPO
-
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, full backup database frequency, or to add exceptions, move the Advanced toggle key to the right, and do the following:
-
From the time zone list, select the time zone according to which the backups must run.
-
If you select incremental or differential backup type for all agents or databases, to modify the full backup frequency of the database, specify a value for Run full backup on databases every option.
-
To add exceptions when the backups must not run, click Exceptions, and then add exceptions for any day of a month or week or schedule an exception for any week of the month.
Exceptions repeat every week or month according to the selected exception.
-
-
-
To modify the transaction log frequency, or enable disk cache for log backups, in the Run transaction log for databases field, click Edit .
-
For Transaction log, specify how often to run log backups.
-
To automatically back up the database logs to the MediaAgent cache, move the Advance toggle button to the right and do the following:
-
Move the Use disk cache for log backups toggle key to the right.
-
For Commit every, enter how often to commit the logs to the CommServe computer.
Disk caching of database logs applies to the following databases: Informix, Microsoft SQL Server on Windows, Oracle, Oracle RAC, and SAP HANA
Note
The database schedules are available only if the server plan is applicable to database solution and only one transaction log schedule can be added to that specific plan.
-
-
-
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.
-
Snapshot options
-
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.
-
Database options
-
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.
-
-
Override restrictions
Leave the Allow plan to be overridden check box cleared.
-
-
Click Save.
Add a DB2 Database Server
-
Go to the Add database servers page.
-
From the Application list, select DB2.
-
For OS Type, specify the OS type.
-
In the Database server name box, enter a name for the database server.
-
In the Username and Password boxes, enter the credentials for the database server.
-
From the Plan list, select the server plan to use for the database server.
-
To grant write access to a UNIX group, such as the dba group, in the UNIX group box, type the name of the group.
-
To define the location where the DB2 log directories are located, in the DB2 logs path box, enter the full path to the directory.
Separate directories under this path are used for each of the following DB2 log types: archive logs, audit error logs, and retrieve logs. If the directories do not exist, they are created.
-
To enter the installation location of the DB2 database server, in the Installation location box, enter the path.
If you don't enter a path, by default, the software is installed in /opt/Commvault.
-
Click Add.