NetBackup™ Web UI Microsoft SQL Server Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.4)
  1. About NetBackup for SQL Server
    1.  
      Overview of NetBackup for SQL Server
    2.  
      Detailed features for NetBackup for SQL Server
  2. Installation and host configuration
    1. Planning the installation of NetBackup for SQL Server
      1.  
        NetBackup server and client requirements
      2.  
        Requirements for using NetBackup for SQL Server in a NetBackup cluster
      3.  
        License for NetBackup for SQL Server
    2. Configuring SQL Server hosts and user permissions
      1.  
        Installing the Veritas VSS provider for vSphere
      2.  
        Disabling the SQL Server VSS Writer service
    3.  
      Configuring the NetBackup services for SQL Server backups and restores
    4.  
      Configure local security privileges for SQL Server
    5.  
      Reviewing the auto-discovered mappings
    6.  
      Configuring mappings for restores of a distributed applications, clusters, or virtual machines
    7.  
      Configuring the ODBC connection
    8.  
      Configure NetBackup for the SQL Server non-readable secondary instances that are hidden
    9.  
      Configuring the primary server host name for the SQL Server agent
    10.  
      Configure the number of jobs allowed for backup operations
    11.  
      Configure the Maximum jobs per client setting
  3. Configuring RBAC for SQL Server administrators
    1.  
      RBAC roles for the SQL Server administrator
    2.  
      RBAC permissions that are needed to view and manage SQL Server and VMware jobs
  4. Managing SQL Server discovery and credentials
    1. About discovery of SQL Server objects
      1.  
        Discover advanced or basic availability groups on demand
      2.  
        Discover databases on demand
      3.  
        Discover read-scale availability groups
    2. About credentials used with SQL Server Intelligent Policy About SQL Server credentials
      1.  
        Add a credential for SQL Server
      2.  
        Select a credential for a SQL Server instance or replica
      3.  
        View the credential name that is applied to an asset
      4.  
        Edit or delete a named credential
    3.  
      Remove SQL Server instances
    4.  
      Manually add a SQL Server instance
  5. Managing protection plans for SQL Server
    1.  
      About protecting SQL Server availability groups
    2. Create a protection plan to protect SQL Server assets
      1.  
        Schedules
      2.  
        Performance tuning and configuration options
    3.  
      Add SQL Server assets to a protection plan
    4.  
      Customize protection settings for a Microsoft SQL Server asset
    5.  
      Remove protection from SQL Server assets
    6.  
      Protect a SQL Server availability group that crosses NetBackup domains
  6. Configuring backup policies with Snapshot Client
    1.  
      About NetBackup Snapshot Client for SQL Server
    2.  
      How SQL Server operations use Snapshot Client
    3.  
      Snapshot methods
    4.  
      Configuration requirements for SQL Server snapshot and Instant Recovery backups
    5.  
      Configure a snapshot policy for SQL Server
    6.  
      Configure a policy for Instant Recovery backups of SQL Server
    7. Using copy-only snapshot backups to affect how differentials are based
      1.  
        Creating a copy-only backup (legacy SQL Server policies)
      2.  
        Creating an Instant Recovery backup that is not copy-only (legacy SQL Server policies)
    8. About SQL Server agent grouped snapshots
      1.  
        Restoring a database backed up in a group
  7. Viewing SQL Server asset details
    1.  
      Browse SQL Server assets
    2.  
      View the protection status of databases, instances, or availability groups
  8. Restoring SQL Server
    1.  
      Requirements for restores of SQL Server
    2.  
      Perform a complete database recovery
    3.  
      Recover a single recovery point
    4.  
      Options for SQL Server restores
    5.  
      Restore a database (non-administrator users)
    6.  
      Select a different backup copy for recovery
    7.  
      Restore a SQL Server availability database to a secondary replica
    8.  
      Restore a SQL Server availability database to the primary and the secondary replicas
  9. Using instant access with SQL Server
    1. Prerequisites when you configure an instant access SQL Server database
      1.  
        Hardware and configuration requirements of instant access
    2.  
      Things to consider before you configure an instant access database
    3.  
      Configure Samba users for SQL Server instant access
    4.  
      Configure an instant access database
    5.  
      View the livemount details of an instant access database
    6.  
      Delete an instant access database
    7.  
      Options for NetBackup for SQL Server instant access
    8.  
      NetBackup for SQL Server terms
    9.  
      Frequently asked questions
  10. Protecting SQL Server with VMware backups
    1. About protecting an application database with VMware backups
      1.  
        Limitations of VMware application backups
    2.  
      About configuring NetBackup for VMware backups that protect SQL Server
    3.  
      Configuring a VMware backup policy to protect SQL Server
    4.  
      Configuring a VMware policy to protect SQL Server using Replication Director to manage snapshot replication
    5. Create a protection plan to protect SQL Server data with a VMware backup
      1.  
        Backup options and Advanced options
      2.  
        Exclude disks from backups
      3.  
        Snapshot retry options
    6.  
      Protect SQL Server data with a VMware backup
    7.  
      Restore SQL Server databases from a VMware backup
  11. Performance and troubleshooting
    1.  
      NetBackup for SQL Server performance factors
    2. About debug logging for SQL Server troubleshooting
      1.  
        Setting the debug level on a NetBackup for SQL Server client
      2.  
        Veritas VSS provider logs
    3.  
      Troubleshooting credential validation
    4.  
      Troubleshooting VMware backups
    5.  
      SQL Server log truncation failure during VMware backups of SQL Server
    6.  
      About monitoring NetBackup for SQL Server operations
    7.  
      Setting the maximum trace level for NetBackup for SQL Server
    8.  
      Reporting of unsuccessful filegroup or file backups
    9.  
      About minimizing timeout failures on large SQL Server database restores
    10.  
      SQL Server restore fails when you restore a SQL Server compressed backup image as a single stripe or with multiple stripes
    11.  
      Incorrect backup images are displayed for availability group clusters
    12.  
      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
    13.  
      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
    14.  
      Unable to discover or browse availability group replicas
    15. About disaster recovery of SQL Server
      1.  
        Preparing for disaster recovery of SQL Server
      2.  
        Recovering SQL Server databases after disaster recovery

Configuring a VMware backup policy to protect SQL Server

Through a VMware backup policy, NetBackup can create full application-consistent backups of the SQL Server databases that reside on a virtual machine. Optionally you can use NetBackup Accelerator. VMware policies let you exclude certain virtual disks from the VMware backup. If you want to exclude specific SQL Server components, use a MS-SQL-Server policy.

To truncate logs, you must first perform a full VMware backup without log truncation. When this backup is complete, then enable log truncation in the policy.

Note that before you create a policy, you must perform additional configuration requirements.

See About configuring NetBackup for VMware backups that protect SQL Server.

More information on Accelerator is available:

See the NetBackup Administrator's Guide, Volume I.

To configure a VMware backup policy to protect SQL Server

  1. Open the NetBackup web UI.
  2. On the left, click Protection > Policies.
  3. Add a new policy or open the policy that you want to edit.
  4. Click the Attributes tab.
    • From the Policy type list, select VMware.

    • In the Policy storage list, select a disk storage unit.

      If you want to use NetBackup Accelerator, select a supported storage unit type. The NetBackup device mapping files list all supported storage types.

    • If you want to use NetBackup Accelerator, click Use Accelerator.

      Accelerator uses the initial full backup to establish a baseline. Any subsequent backups that are performed with Accelerator can run significantly faster. You may want to create an additional policy schedule that enables the Accelerator forced rescan option. This option establishes a new baseline for the next Accelerator backup.

      Perform block-level incremental backups is automatically selected and grayed out. On the VMware tab, the Enable block-level incremental backup option is also selected and grayed out.

  5. On the Schedules tab, create a schedule for full backups.
  6. On the Clients tab, do the following:
    • Click Select automatically through VMware intelligent policy query.

    • From the NetBackup host to perform automatic virtual machine selection list, select the host you want to use.

    • Use the Query builder to create the rules that select the virtual machines you want to back up.

  7. On the VMware tab:
    • Select the Primary VM identifier to use to catalog the backups.

    • Select Enable file recovery from VM backup.

    • Locate Application protection and click Microsoft SQL Server.

      This option allows recovery of the 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.

  8. If you want to exclude certain disks from the VMware backup, click the Exclude disks tab.

    NetBackup excludes those disks from the VMware backup that protects SQL Server. Be sure that any disks that you exclude do not contain database data.

  9. 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 10.

  10. Perform a full backup without log truncation.

    When the backup completes, open the policy that you created in step 1.

  11. Click the VMware tab.
  12. Locate Application protection and click Microsoft SQL Server. Then click Truncate logs.

    For SQL Server, this option truncates the transaction logs when the VMware snapshot of the virtual machine is complete.

  13. Click Save to save the policy.
  14. Perform a full VMware backup.