Veritas NetBackup™ for Microsoft SQL Server Administrator's Guide
- Introducing NetBackup for SQL Server
 - Installing NetBackup for SQL Server
 - Instance Management for SQL Server Intelligent Policies
- About Instance management for a SQL Server Intelligent Policy
 - About credentials used with SQL Server Intelligent Policy
 - Configuring the NetBackup services for SQL Server backups and restores
 - Configuring local security privileges for SQL Server
 - About the NetBackup Discovery Service
 - Viewing the SQL Server instances and instance groups in instance management
 - About registering SQL Server instances
 - Manually adding a SQL Server instance in instance management
 
 - Configuring SQL Server backups with SQL Server Intelligent Policy
- About SQL Server Intelligent Policies
 - About configuring SQL Server backups with SQL Server Intelligent Policy
 - Adding a new SQL Server Intelligent Policy
 - About policy attributes
 - About schedule properties
 - Schedule backup types for SQL Server Intelligent Policies
 - Adding instances to a policy
 - Adding databases to a policy
 - Instance properties
 - Backup Selections tab
 - Adding filegroups or files to the backup selections list
 - Manually adding files or filegroups to the backup selections list
 - Adding instance groups to a backup policy
 - About tuning parameters for SQL Server backups
 - Backing up read-only filegroups
 - Backing up read-write filegroups
 
 - Configuring NetBackup for SQL Server
- Configuring mappings for restores of a distributed application, cluster, or virtual machine
 - Reviewing the auto-discovered mappings in Host Management
 - About NetBackup for SQL performance factors
 - Configuring the number of jobs allowed for backup operations
 - Configuring the Maximum jobs per client setting
 - Configuring multistriped backups of SQL Server
 - Performing a manual backup
 
 - Performing restores of SQL Server
- Starting the NetBackup MS SQL Client for the first time
 - Selecting the SQL Server host and instance
 - Browsing for SQL Server backup images
 - Options for NetBackup for SQL Server restores
 - Restoring a SQL Server database backup
 - Staging a full SQL Server database recovery
 - Restoring SQL Server filegroup backups
 - Recovering a SQL Server database from read-write filegroup backups
 - Restoring SQL Server read-only filegroups
 - Restoring SQL Server database files
 - Restoring a SQL Server transaction log image without staging a full recovery
 - Performing a SQL Server database move
 - About performing a SQL Server page-level restore
 - Configuring permissions for redirected restores
 - Redirecting a SQL Server database to a different host
 - Performing a restore of a remote SQL Server installation
 - About restores of a database that contain full-text catalog
 - Restoring multistreamed SQL Server backups
 
 - Protecting SQL Server data with VMware backups
- About protecting SQL Server data with VMware backups
 - About configuring NetBackup for VMware backups that protect SQL Server
 - Using NetBackup Accelerator to increase speed of full VMware backups
 - Installing the Veritas VSS provider for vSphere
 - Configuring the NetBackup services for VMware backups that protect SQL Server
 - Configuring a VMware backup policy to protect SQL Server
 - Configuring a VMware policy to protect SQL Server using Replication Director to manage snapshot replication
 - About truncating logs with a VMware backup that protects SQL Server
 - Restoring SQL Server databases from a VMware backup
 
 - Using NetBackup for SQL Server with Snapshot Client
- About NetBackup Snapshot Client for SQL Server
 - How SQL Server operations use Snapshot Client
 - Configuration requirements for SQL Server snapshot and Instant Recovery backups
 - Configuring a snapshot policy for SQL Server
 - Configuring a policy for Instant Recovery backups of SQL Server
 - Using copy-only snapshot backups to affect how differentials are based
 - About SQL Server agent grouped backups (legacy SQL Server policies)
 
 - Protecting SQL Server in high availability (HA) environments
- About SQL Server high availability (HA) environments
 - About using NetBackup to protect SQL Server availability groups
- Limitations of backups of availability groups
 - 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
 - Configuring SQL Server backups when an availability group crosses NetBackup domains
 - Restoring a SQL Server availability group database to the primary and the secondary replicas
 - Restoring a SQL Server availability group database to a secondary replica
 - Restoring an availability group database when an availability group crosses NetBackup domains
 
 - Configuring backups of clustered SQL Server instances (SQL Server Intelligent Policy)
 - Configuring backups of clustered SQL Server instances (legacy SQL Server policies)
 - Performing a restore of a virtual SQL Server instance
 - About NetBackup for SQL Server with database mirroring
 - Configuring NetBackup to support database log-shipping
 - Backing up SQL Server in an environment with log shipping
 
 - Backup and recovery concepts
- Overview of SQL Server backup and recovery concepts
 - What are the components of NetBackup for SQL Server?
 - How does NetBackup resolve SQL Server host and instance names?
 - How does NetBackup for SQL Server back up a database?
 - How does NetBackup for SQL Server recover a database?
 - Protecting SQL Server files and filegroups
 - About recovery considerations for SQL Server files and filegroups
 - Reducing backup size and time by using read-only filegroups
 - What factors affect the data transfer rate during a SQL Server backup or restore operation?
 - About recovery factors for SQL Server
 
 - Using NetBackup for SQL Server with multiple NICs
- About configuration of SQL Server backups with multiple NICs
 - Configuring the NetBackup client with the private interface name
 - Configuring backups of SQL Server when you have multiple NICs (SQL Server Intelligent Policies)
 - Configuring backups for SQL Server when you have multiple NICs (legacy SQL Server policies)
 - Performing restores of SQL Server when you have multiple NICs
 - Configuring backups of a SQL Server cluster when you have multiple NICs (SQL Server Intelligent Policies)
 - Configuring backups of a SQL Server cluster when you have multiple NICs (legacy SQL Server policies)
 - Creating a batch file for backups of a SQL Server cluster when you have multiple NICs (legacy SQL Server policies)
 - Performing restores of a SQL Server cluster when you have multiple NICs
 
 - Configuring backups with legacy SQL Server policies using clients and batch files
- About legacy SQL Server policies
 - About configuring backups with legacy SQL Server policies
 - Configuring the NetBackup services for SQL Server backups and restores
 - About SQL Server security with NetBackup legacy backup policies
 - About using batch files with NetBackup for SQL Server
 - Adding a new SQL Server legacy policy
 - About schedule properties
 - Adding clients to a policy
 - Adding batch files to the backup selections list
 - Selecting the SQL Server host and instance
 - Options for SQL Server backup operations
 - About viewing the properties of the objects selected for backup
 - Performing user-directed backups of SQL Server databases
 - Backing up SQL Server transaction logs
 - Backing up SQL Server database filegroups
 - Backing up read-only filegroups
 - Backing up read-write filegroups
 - Backing up SQL Server database files
 - Performing partial database backups
 - Performing a backup of a remote SQL Server installation
 - About file checkpointing with NetBackup for SQL Server
 - About automatic retry of unsuccessful SQL Server backups
 
 - Performing user-directed operations with dbbackex
 - Using bplist to retrieve a list of SQL Server backups
 - SQL Server backups and restores in an SAP environment (legacy SQL Server policies)
- About SQL Server backups and restores in an SAP environment
 - About manual backups of SQL Server in an SAP environment
 - About policy configuration for SQL Server in an SAP environment
 
 - Troubleshooting
- About monitoring NetBackup for SQL Server operations
 - About NetBackup reports for SQL Server troubleshooting
 - About debug logging for SQL Server troubleshooting
 - Setting the maximum trace level for NetBackup for SQL Server
 - Troubleshooting credential validation with instance management
 - About minimizing timeout failures on large SQL Server database restores
 - Troubleshooting VMware backups and restores of SQL Server
 - Delays in completion of backup jobs
 - SQL Server log truncation failure during VMware backups of SQL Server
 - SQL Server restore fails when you restore a SQL Server compressed backup image as a single stripe or with multiple stripes
 - Incorrect backup images are displayed for availability group clusters
 - A restore of a SQL Server database fails with Status Code 5, or Error (-1), when the host name of the SQL Server or the SQL Server database name has trailing spaces
 - A move operation fails with Status Code 5, or Error (-1), when the SQL Server host name, the database name, or the database logical name has trailing spaces
 
 - Disaster recovery of a SQL Server
 - Appendix A. Sample batch files
- About sample backup batch files for legacy SQL Server policies
- Script to back up a database
 - Script to perform a striped database backup and allow multiple internal buffers per stripe
 - Script to perform an operation and specify the user ID and password to use to SQL Server
 - Script to perform multiple operations in sequence
 - Script to perform a set of operations in parallel
 - Script to specify the maximum transfer size and block size for a backup
 - Script that uses environment variables to exclude instances and databases from backup
 
 - About sample restore batch files
- Script to restore a database
 - Script to restore a database from multiple stripes
 - Script to stage a database restore from a filegroup backup, several file backups, and transaction log backups
 - Script to restore a database transaction log up to a point in time
 - Script to stage a database restore from a database backup, a differential backup, and a series of transaction backups
 
 
 - About sample backup batch files for legacy SQL Server policies
 - Appendix B. Multiplexed backups
 - Appendix C. Register authorized locations
 
How SQL Server operations use Snapshot Client
This section describes how SQL Server operations use the Snapshot Client.
The selection of a backup methodology, whether standard or Snapshot Client, is dependent on what policy is used. If a policy configured for Snapshot Client is selected, then additional attributes of policy determine the Snapshot Client features. It also determines the specific snapshot methods that are used.
Due to SQL Server limitations certain objects cannot be backed up by snapshots. These are database differentials, filegroup differentials, and transaction logs. If a Snapshot Client policy is selected to back up one of these object types, then NetBackup performs a stream-based backup. NetBackup uses the storage unit that is provided in the policy configuration. If a storage unit is not provided, then NetBackup uses the default storage unit for the server.
The database administrator works exclusively with logical objects, such as databases and filegroups. However, it is useful to understand the differences between file- and stream-based backups in terms of the data content that is archived. For stream-based backups, NetBackup captures the data stream content that is provided by SQL Server. If the user has specified multiple streams, then SQL Server opens multiple streams that NetBackup catalogs as separate images.
For file-based backups, NetBackup creates a file list that consists of all the physical files that constitute the object. This file list is supplied to the Snapshot Client, which is responsible for snapshot creation. If multiple streams are specified, then NetBackup divides the file list into sub-lists. Each sub-list is backed up separately and constitutes a separate image. Users may notice that if multiple streams are specified for a file-based backup and if the number of streams exceeds the number of component files, then the number of file-based streams does not exceed the number of files. With stream-based SQL Server backups, SQL Server always creates exactly the number of streams that the end user specifies.
The file list that is used to back up a SQL Server database consists of the physical files that constitute the primary filegroup. The file list also consists of any secondary filegroups, and the transaction log. Typically, these can be identified respectively by their name extensions, which are .mdf, .ndf, and .ldf. The file list for a filegroup backup consists of the physical files that belong to the filegroup. And, finally, the file list for a file object backup consists of a single physical file. This file is the file that maps to the SQL Server file object.
When a physical file is backed up with the Snapshot Client, the backup consists of the entire extent. This backup contrasts with stream-based SQL Server backups where only the actual data content of the objects are archived. If you intend to use snapshot technology to back up SQL Server, you may want to use the SQL Server dynamic file allocation. This configuration reduces the likelihood that any of the component files contain large areas of empty space.
Also review the other considerations for SQL Server disk initialization.
No special interfacing considerations exist when you perform Snapshot Client backups of SQL Server. A snapshot backup is performed if the backup object is: a database, a filegroup, or a file and a policy is selected and configured for Snapshot Client. If a differential backup or transaction log backup is tried with a Snapshot Client backup, then the operation uses the selected policy. But a standard database backup is performed with the configured storage unit.
Any backup images that were created from snapshots display along with standard backup images. That is, all backup items - without regard to method - display in a time-sequenced ordering that respects the composition of the database hierarchy. In addition, no weighting is given in to determine an optimal recovery that is based on the backup method. To determine what backup method and policy were used when a SQL Server backup was created, right-click the backup image and select .
More Information