NetBackup™ for Microsoft SQL Server Administrator's Guide
- About NetBackup for SQL Server
- Installation
- Host configuration and job settings
- Installing the Veritas VSS provider for vSphere
- Configuring RBAC for SQL Server administrators
- Managing SQL Server assets and their credentials
- About discovery of SQL Server objects
- About registering SQL Server instances and availability replicas
- Configuring backups with SQL Server Intelligent Policy
- Performance tuning and configuration options
- Protecting SQL Server availability groups
- Protecting SQL Server availability groups with intelligent policies
- Protecting SQL Server availibility groups with batch file-based policies
- About protecting the preferred replica in a SQL Server availability group (batch file-based policies)
- About protecting a specific node in a SQL Server availability group (batch file-based policies)
- About protecting the preferred replica in a SQL Server availability group (batch file-based policies)
- Protecting SQL Server with VMware backups
- About protecting an application database with VMware backups
- Create a protection plan to protect SQL Server data with a VMware backup
- Configuring backup policies with Snapshot Client
- Using copy-only snapshot backups to affect how differentials are based
- About SQL Server agent grouped snapshots
- Protecting SQL Server in a cluster environment
- Managing protection plans for SQL Server
- Restoring SQL Server with the NetBackup web UI
- Using instant access with SQL Server
- Prerequisites when you configure an instant access SQL Server database
- Configuring batch-file based policies for SQL Server backups
- Requirements to use batch files with NetBackup for SQL Server
- Schedule properties for SQL Server batch file-based policies
- Configure a batch file-based policy for a user-directed backup of read-only filegroups
- Performing backups and restores with the NetBackup MS SQL Client
- Redirect a SQL Server database to a different host (NetBackup MS SQL Client)
- Restoring multistreamed SQL Server backups
- 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.