Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ for Microsoft SQL Server Administrator's Guide
  3. Appendix A. Other configurations
  4. About NetBackup for SQL Server with database mirroring
  5. Restore a mirrored database backup image
NetBackup™ for Microsoft SQL Server Administrator's Guide

Restore a mirrored database backup image

Note:

Before you restore a mirrored database, you must remove the mirroring attribute.

For mirrored databases, NetBackup can create backup images on either or on both the principal and the mirror server. The Restore Database dialog box displays any backups images from both servers. To determine which partner the backup was taken from, look at the property page for the image. To view backup images you can select the Host name that contains either of the mirroring partners, provided that NetBackup performed backups for that partner.

For example, assume that mirroring partners are as follows. All of the backups were done on HostB, though the principal is currently on HostA:

  • Principal

    Host name: HostA

    SQL Server instance: Solaria

    Database: Accounting

  • Mirror

    Host name: HostB

    SQL Server instance: Moonbeam

    Database: Accounting

If backup images were created exclusively on HostA or on both HostA and HostB, you can view the images from both partners. Select HostA in the SQL Host list.

To restore a mirrored backup image

  1. Disable mirroring on the principal mirror.

    You can use the appropriate commands in SQL Server Management Studio or use ALTER DATABASE directly.

  2. On the principal server, open the NetBackup MS SQL Client.

    When you restore a mirror database, you must run the NetBackup MS SQL Client from the principal server. See SQL Server Books Online for information on how to determine which partner is the principal.

    In the previous example, the principal is HostA.

  3. On the File menu, select Restore SQL Server Objects.
  4. In the Backup History Options dialog box, from the SQL host list select the mirror server.

    In the previous example, the mirror is HostB.

  5. Click OK.
  6. Proceed with the restore as normal.

    NetBackup creates a recovery script for the database that includes images from both partners, as appropriate.

Feedback

Was this page helpful?
Previous

Perform simultaneous backups for mirrored partners

Next

Appendix B. Register authorized locations

Feedback

Was this page helpful?