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

Reviewing the auto-discovered mappings

In certain scenarios, a NetBackup host shares a particular name with other hosts or has a name that is associated with a cluster. To successfully perform backups and restores with NetBackup for SQL Server, you must approve each valid auto-discovered mapping that NetBackup discovers in your environment. Or, manually add the mappings.

See Approve the auto-discovered mappings for a cluster.

See Auto-discovered mappings for a SQL Server cluster in a multiple NIC environment.

See Manually map host names.

Examples of the configurations that have multiple host names include:

  • A host is associated with its fully qualified domain name (FQDN) and its short name or its IP address.

  • If the SQL Server is clustered, the host is associated with its node name and the virtual name of the cluster.

These mappings are configured in the Security > Host mappings node in the NetBackup web UI. You can also use the nbhostmgmt command to manage the mappings. See the NetBackup Security and Encryption Guide and NetBackup Web UI Administrator's Guide for more details.

Auto-discovered mappings for a cluster

In a SQL Server cluster environment, you must map the node names to the virtual name of the cluster if the following apply:

  • If the backup policy includes the cluster name (or virtual name)

  • If the NetBackup client is installed on more than one node in the cluster, the virtual name must be mapped to each node.

    If the NetBackup Client is only installed on one node, then no mapping is necessary.

Approve the auto-discovered mappings for a cluster

To approve the auto-discovered mappings for a cluster

  1. In the NetBackup web UI, expand Security > Host mappings.
  2. Click the Mappings to approve tab.

    The list displays the hosts in your environment and the mappings or additional host names that NetBackup discovered for those hosts. A host has one entry for each mapping or name that is associated with it.

    For example, for a cluster with hosts client01.lab04.com and client02.lab04.com, you may see the following entries:

    Host

    Auto-discovered mapping

    client01.lab04.com

    client01

    client01.lab04.com

    clustername

    client01.lab04.com

    clustername.lab04.com

    client02.lab04.com

    client02

    client02.lab04.com

    clustername

    client02.lab04.com

    clustername.lab04.com

  3. Click the name of the host.
  4. Review the mappings for the host and click Approve if you want to use the discovered mappings.

    For example, if the following mappings are valid for client01.lab04.com, then you approve them.

    Auto-discovered mapping

    Valid name for

    client01

    The short name of the client

    clustername

    The virtual name of the cluster

    clustername.lab04.com

    The FQDN of the virtual name of the cluster

  5. When you finish approving the valid mappings for the hosts, click on the Hosts tab.

    For hosts client01.lab04.com and client02.lab04.com, you see entries for Mapped host or IP address that are similar to the following:

    Host

    Mapped host names/IP addresses

    client01.lab04.com

    client01.lab04.com, client01, clustername, clustername.lab04.com

    client02.lab04.com

    client02.lab04.com, client02, clustername, clustername.lab04.com

  6. If you need to add a mapping that NetBackup did not automatically discover, you can add it manually.

In Table: Example mapped host names for SQL Server environments, FCI is a SQL Server failover cluster instance. WSFC is Windows Server Failover Cluster.

Table: Example mapped host names for SQL Server environments

Environment

Host

Mapped host names

FCI (cluster with two nodes)

Physical name of Node 1

Virtual name of the SQL Server cluster

Physical name of Node 2

Virtual name of the SQL Server cluster

Basic or advanced availability group (primary and secondary)

Primary name

WSFC name

Secondary name

WSFC name

Basic or advanced availability group, with an FCI (primary FCI and secondary FCI)

Primary FCI name

WSFC name

Secondary FCI name

WSFC name

Physical name of Node 1

Virtual name of the SQL Server cluster

Physical name of Node 2

Virtual name of the SQL Server cluster

 

Auto-discovered mappings for a SQL Server cluster in a multiple NIC environment

If you have a SQL Server cluster in a multi-NIC environment, you need to approve each valid auto-discovered mapping for the hosts in that environment. You must map the virtual name of the SQL Server cluster on the private network to the private name of each SQL Server cluster node.

To approve the auto-discovered mappings for a SQL Server cluster in a multiple NIC environment

  1. In the NetBackup web UI, expand Security > Host mappings.
  2. Click the Mappings to approve tab.

    The list displays the hosts in your environment and the mappings or additional host names that NetBackup discovered for those hosts. A host has one entry for each mapping or name that is associated with it.

    For example, for a cluster in a multi-NIC environment with hosts client01-bk.lab04.com and client02-bk.lab04.com, you may see the following entries:

    Host

    Auto-discovered mapping

    client01-bk.lab04.com

    clustername-bk.lab04.com

    client02-bk.lab04.com

    clustername-bk.lab04.com

  3. Click the name of the host.
  4. Review the mappings for the host and click Approve if you want to use the discovered mappings.

    For example, if following mapping is valid for client01-bk.lab04.com, then you approve it.

    Auto-discovered mapping

    Valid name for

    clustername-bk.lab04.com

    The virtual name of the SQL Server cluster on the private network

  5. When you finish approving the valid mappings for the hosts, click on the Hosts tab.

    For hosts client01-bk.lab04.com and client02-bk.lab04.com, you may see the following Mapped host or IP address.

    Host

    Mapped host or IP address

    client01-bk.lab04.com

    clustername-bk.lab04.com

    client02-bk.lab04.com

    clustername-bk.lab04.com

  6. If you need to add a mapping that NetBackup did not automatically discover, you can add it manually.
Example mapped host names for a SQL Server cluster in a multi-NIC environment

Table: Example mapped host names for a SQL Server cluster in a multi-NIC environment

Host

Mapped host names

Private name of Node 1

Virtual name of the SQL Server cluster on the private network

Private name of Node 2

Virtual name of the SQL Server cluster on the private network

Approve the auto-discovered mappings for a SharePoint SQL availability group backup and restore

To approve the auto-discovered mappings for a SharePoint SQL availability group

  1. In the NetBackup web UI, expand Security > Host mappings.
  2. Click the Mappings to approve tab.

    The list displays the hosts in your environment and the mappings or additional host names that NetBackup discovered for those hosts. A host has one entry for each mapping or name that is associated with it.

    For example, for a SharePoint SQL with hosts client01.lab04.com and client02.lab04.com, you may see the following entries:

    Host

    Auto-discovered mapping

    client01.lab04.com

    client01, clustername, clustername.lab04.com

    client01.lab04.com

    aglistenername

    client01.lab04.com

    aglistenername.lab04.com

    client02.lab04.com

    client02, clustername, clustername.lab04.com

    client02.lab04.com

    aglistenername

    client02.lab04.com

    aglistenername.lab04.com

  3. Click the name of the host.
  4. Review the mappings for the host and click Approve if you want to use the discovered mappings.

    For example, if the following mappings are valid for client01.lab04.com, then you approve them.

    Auto-discovered mapping

    Valid name for

    client01

    The short name of the client

    aglistenername

    The listener name of the SharePoint SQL availability group

    aglistenername.lab04.com

    The FQDN of the listener name of the SharePoint SQL availability group.

  5. When you finish approving the valid mappings for the hosts, click on the Hosts tab.

    For hosts client01.lab04.com and client02.lab04.com, you see entries for Mapped host or IP address that are similar to the following:

    Host

    Mapped host names/IP addresses

    client01.lab04.com

    client01.lab04.com, client01, aglistenername, aglistenername.lab04.com

    client02.lab04.com

    client02.lab04.com, client02, aglistenername, aglistenername.lab04.com

  6. If you need to add a mapping that NetBackup did not automatically discover, you can add it manually.
Manually map host names

If you need to add a mapping that NetBackup did not automatically discover, you can add it manually.

To manually map host names

  1. In the NetBackup web UI, expand Security > Host mappings.
  2. Click on the Hosts tab.
  3. Click Add shared or cluster mappings.

    For example, type the name of the virtual name of the cluster. Then click Add to choose the hosts to which you want to map that virtual name.