NetBackup™ Web UI Microsoft SQL Server Administrator's Guide

Last Published:
Product(s): NetBackup (9.0.0.1, 9.0)
  1. Introducing the NetBackup web user interface
    1.  
      About the NetBackup web UI
    2.  
      Terminology
    3.  
      Sign in to the NetBackup web UI
    4.  
      Sign out of the NetBackup web UI
  2. About NetBackup for SQL Server
    1.  
      Overview of NetBackup for SQL Server
  3. Installation and host configuration
    1.  
      Planning the installation of NetBackup for SQL Server
    2. Configuring SQL Server hosts and user permissions
      1.  
        Installing the Veritas VSS provider for vSphere
    3.  
      Configuring the NetBackup services for SQL Server backups and restores
    4.  
      Configure local security privileges for SQL Server
  4. Monitoring and notifications
    1.  
      The NetBackup dashboard
    2.  
      Monitoring jobs
    3.  
      Filter jobs in the job list
  5. 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.  
      Browse SQL Server assets
    3.  
      About SQL Server credentials
    4.  
      Add credentials to SQL Server instances or replicas
    5.  
      Manage SQL Server credentials
    6.  
      Remove SQL Server instances
    7.  
      Manually add a SQL Server instance
  6. 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 and retention
      2.  
        Performance tuning and configuration options
      3.  
        Using copy-only snapshot backups to affect how differentials are based
      4.  
        Snapshot methods
    3.  
      Protect a SQL Server availability group that crosses NetBackup domains
  7. Protecting SQL Server
    1.  
      Add SQL Server assets to a protection plan
    2.  
      Edit protection settings for a Microsoft SQL Server asset
    3.  
      View the protection status of databases, instances, or availability groups
    4.  
      Remove protection from SQL Server assets
  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 SQL Server availability database to a secondary replica
    6.  
      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 configuration requirement 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
    2. 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
    3.  
      Protect SQL Server data with a VMware backup
    4.  
      Restore SQL Server databases from a VMware backup
  11. Troubleshooting
    1.  
      Troubleshooting credential validation
    2.  
      Troubleshooting VMware backups and restores of SQL Server
    3.  
      SQL Server log truncation failure during VMware backups of SQL Server

Restore a SQL Server availability database to the primary and the secondary replicas

In some situations you may need to restore the SQL Server availability databases to both the primary and the secondary replicas. These situations can include when you restore databases:

  • Following a disaster recovery

  • After logical corruption of the databases

  • To a clone of an availability group or test environment

  • To an earlier point in time

You may want to perform this restore for the primary database in parallel with the restores for the secondary databases.

To restore a SQL Server availability database to the primary and the secondary replicas

  1. Log on to the host of the primary replica and perform the following actions:
    • In SQL Server Management Studio, suspend data movement on the database and remove the database from the availability group.

    • Close any connections to the database.

    • Remove the primary database from SQL Server.

  2. In the NetBackup web UI, on the left select Workloads > Microsoft SQL Server.
  3. Click on the Availability groups tab and then click on the availability group name.
  4. On the Replicas tab, click on the instance that is hosted on the primary replica.
  5. On the Databases tab, click on the database that you want to restore.
  6. Click the Recovery points tab and locate the latest transaction log backup.
  7. From the Actions menu select Perform complete database recovery.
  8. Select one of the following options.

    Recovery point selected

    Restore the database to the time indicated.

    Point in time

    Select a different point in time to which you want to restore the database.

    Transaction log mark

    • Choose whether to restore at or before the transaction mark.

    • Enter the name of the transaction mark.

    • To select a transaction mark that occurs after a certain date, select After specific date and time. Then specify the date and time.

  9. Enter the credentials of the instance that you want to restore to and click Next.

    The user account must be a member of the Windows administrator group and a member of the local SQL Server sysadmin role.

  10. Select the following settings:
    • Recover

    • Overwrite existing database

    See Options for SQL Server restores.

  11. Click Next. Then click Start recovery.
  12. When the restore completes, add the database to the availability group using the Skip initial data synchronization option.
  13. Log on to the host of the secondary replica and complete the following steps:
    • Close any connections to the database on the secondary replica.

    • Remove the secondary database from SQL Server.

  14. In the NetBackup web UI, on the left select Workloads > Microsoft SQL Server.
  15. Click on the Availability groups tab and then click on the availability group name.
  16. On the Replicas tab, click on the instance that is hosted on the secondary replica.
  17. On the Databases tab, click on the database that you want to restore.
  18. Click the Recovery points tab and locate the image that you restored to the primary replica.
  19. From the Actions menu select Perform complete database recovery.
  20. For the transaction log, select the same point in time or log mark that you did for the primary replica.
  21. Enter the credentials of the instance that you want to restore to and click Next.

    The user account must be a member of the Windows administrator group and a member of the local SQL Server sysadmin role.

  22. Select the following settings:
    • Restoring

    • Overwrite existing database

    See Options for SQL Server restores.

  23. Click Next. Then click Start recovery.
  24. When the restore completes, join the database to the availability group.
  25. Repeat step 13 through step 24 for additional replicas in the availability group.