NetBackup™ for Microsoft SQL Server Administrator's Guide
- Introducing NetBackup for SQL Server
- Installation
- Host configuration and job settings
- Managing SQL Server objects for use with SQL Server Intelligent Policies
- About discovery of SQL Server objects
- About registering SQL Server instances and availability replicas
- Registering instances or availability replicas with an instance group
- Configuring backups with SQL Server Intelligent Policy
- About tuning parameters for SQL Server backups
- Performing restores of SQL Server
- Redirecting a SQL Server database to a different host
- Protecting SQL Server data with VMware backups
- About protecting an application database with VMware backups
- Configuring backups with Snapshot Client
- Using copy-only snapshot backups to affect how differentials are based
- About SQL Server agent grouped snapshots
- Protecting SQL Server availability groups
- Protecting SQL Server availability groups with intelligent policies
- Protecting SQL Server availibility groups with legacy policies
- About protecting the preferred replica in a SQL Server availability group (legacy backup policies)
- About protecting a specific node in a SQL Server availability group (legacy backup policies)
- About protecting the preferred replica in a SQL Server availability group (legacy backup policies)
- Protecting SQL Server in a cluster environment
- Configuring backups with legacy SQL Server policies using clients and batch files
- About using batch files with NetBackup for SQL Server
- About schedule properties
- Performing user-directed backups of SQL Server databases
- Performing user-directed backups of read-only filegroups
- Using NetBackup for SQL Server with multiple NICs
- Performance and troubleshooting
- About debug logging for SQL Server troubleshooting
- About disaster recovery of SQL Server
- Appendix A. Other configurations
- About SQL Server backups and restores in an SAP environment
- About NetBackup for SQL Server with database mirroring
- Appendix B. Register authorized locations
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
- Open the NetBackup web UI.
- On the left, click Protection > Policies.
- 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.
Locate Application protectionand click Microsoft SQL Server.
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.
(Conditional) Select Enable T-SQL snapshots.
This snapshot type creates a full SQL Server backup (not copy-only) that can be used as a basis for SQL Server incremental and transaction log backups. For this snapshot type, the only valid option for snapshot handling is Stop the backup if any snapshots exist, which is automatically selected.
Note: T-SQL snapshots were added with SQL Server 2022 and are strongly recommended for systems with SQL Server 2022 or later. This type of snapshot is not supported with SQL Server 2019 and earlier.
- Click Save 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 3.
- Click the VMware tab and under Microsoft SQL Server, select Truncate logs.
- Click Save to save the policy.
- Perform a full VMware backup.