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. Using NetBackup for SQL Server with multiple NICs
  4. Create a batch file for backups of a SQL Server cluster when you have multiple NICs (batch file-based policies)
NetBackup™ for Microsoft SQL Server Administrator's Guide

Create a batch file for backups of a SQL Server cluster when you have multiple NICs (batch file-based policies)

This topic describes how to create a batch file for a batch file-based policy to protect a SQL Server cluster with a multi-NIC connection. To create the batch file you need to connect to the SQL Server host using the public name of the virtual SQL Server. The batch file must include the private name of the virtual SQL Server.

To create a batch file for SQL Server cluster backups with a multi-NIC connection

  1. On any node in the SQL Server cluster, open the NetBackup for SQL Server interface.
  2. Select File > Set SQL Server connection properties.
  3. In the Host box, specify the public name of the virtual SQL Server host (virtsql).
  4. Select Apply and Close.
  5. Select File > Backup SQL Server objects.
  6. Select the databases to back up.
  7. Select the backup options.

    Note:

    Do not attempt to perform an immediate backup from the backup dialog box. The generated batch files must be modified before they can be run successfully.

  8. From the Backup script options, select Save.
  9. Select Backup.

    A batch file similar to the following is created:

    OPERATION BACKUP
    DATABASE "ACCOUNTING"
    SQLHOST "VIRTSQL"
    NBSERVER "THOR"
    BROWSECLIENT "VIRTSQL"
    MAXTRANSFERSIZE 0
    BLOCKSIZE 7
    ENDOPER TRUE
  10. Change the line value that is associated with the BROWSECLIENT from the public name of the virtual SQL Server to the private name.
    OPERATION BACK
    UPDATABASE "ACCOUNTING"
    SQLHOST "VIRTSQL"
    NBSERVER "THOR"
    BROWSECLIENT "VIRTSQL-NB"
    MAXTRANSFERSIZE 0
    BLOCKSIZE 7
    ENDOPER TRUE
  11. Place the modified batch file on all nodes in the cluster or in a shared location. This way it is available for scheduled backups.

    Backups are done regardless of which node is active when a backup is initiated.

More Information

Options for SQL Server backup operations

Feedback

Was this page helpful?
Previous

Configure backups of a SQL Server cluster when you have multiple NICs (batch file-based policies)

Next

Restore a SQL Server cluster when you have multiple NICs (NetBackup MS SQL Client)

Feedback

Was this page helpful?