Configuring a VMware policy to protect SQL Server using Replication Director to manage snapshot replication
This topic describes how to configure a VMware policy to back up SQL Server using Replication Director to manage snapshot replication. Note that NetBackup must have access to the CIFS share on the NetApp disk array. For more details on VMware policies, see the NetBackup for VMware Administrator's Guide.
For complete details on how to configure Replication Director with VMware backups, see the NetBackup Replication Director Solutions Guide.
To configure a VMware policy to back up SQL Server using Replication Director to manage snapshot replication
- Log on to the master server as administrator.
- Start the NetBackup Administration Console.
- Create a policy or open the policy you want to configure.
- Click the Attributes tab.
From the Policy type list, select VMware.
In the Policy storage list select the storage lifecycle policy (SLP) that you want to use. This SLP must be configured for snapshot replication.
In the Snapshot Client and Replication Director group, click Use Replication Director.
- On the Schedules tab, create a schedule for full backups.
- On the Clients tab, do the following:
Click Select automatically through query.
Use the Query Builder to create the rules that select the virtual machines you want to back up.
Select NetBackup host to perform automatic virtual machine selection and the host you want to use.
- On the VMware tab, enable the following options:
Primary VM identifier to use to catalog the backups.
Enable file recovery from VM backup.
This option allows for application protection of SQL Server.
Enable SQL Recovery.
This option allows recovery of the SQL databases from the virtual machine backups. If this option is disabled, you can recover the entire virtual machine from the backup, but you cannot recover the databases individually.
Do not enable Truncate logs at this time. You must first perform a full backup without log truncation, described later in this procedure.
- Click OK to save the policy.
If you do not want to truncate transaction logs, no further action is necessary.
If you want to truncate transaction logs, continue with step 9.
- Perform a full backup without log truncation.
When the backup completes, open the policy that you created in step 2.
- Click the VMware tab and under Enable SQL Recovery, select Truncate logs.
- Click OK to save the policy.
- Perform a full VMware backup.