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™ Troubleshooting Guide
  3. Disaster recovery
  4. About disk recovery procedures for Windows
  5. About recovering the primary server disk for Windows
  6. Recovering the primary server and Windows
NetBackup™ Troubleshooting Guide

Recovering the primary server and Windows

This procedure assumes that all disk partitions in Windows are lost.

To recover the primary server and Windows

  1. Install a minimal Windows operating system (perform the Express install).

    • Install the same type and version of Windows software that was used previously.

    • Install Windows in the same partition that was used before the failure.

    • Install any required patches. Take corrective action as needed.

    • Specify the default workgroup. Do not restore the domain.

    • Install and configure special drivers or other software that is required to get the hardware operational (for example, a special driver for the disk drive).

    • Install SCSI or other drivers as needed to communicate with the tape drives on the system.

    • Follow any hardware manufacturer's instructions that apply, such as loading the SSD on a Compaq system.

    • Restart the system when Windows installation is complete.

  2. Determine the install_path in which NetBackup is installed. By default, NetBackup is installed in the C:\Program Files\Cohesity NetBackup directory.
  3. Determine if any directory paths or locations need to be created for NetBackup catalog recovery.
  4. If necessary, partition any disks being recovered as they were before the failure. Then reformat each partition as it was before the failure.
  5. Reinstall NetBackup software on the server being recovered. Do not configure any NetBackup policies or devices at this time.

    Note:

    For the NetBackup Web Services, you must use the same user account and credentials that were used when you backed up the NetBackup catalog. More information is available:

    https://support.cohesity.com/s/article/article-100023872

  6. Install any NetBackup patches that had been previously installed. See the documentation that was included with the patch software.
  7. If the catalog directories differ from those in the NetBackup catalog backups, recreate that directory structure on the disk before you recover the catalog.
  8. If the recovery scenario involves restoring policy or catalog backups, the appropriate recovery device or devices have to be configured.

    You may have to do all or some of the following tasks:

    • Install and configure the robotic software for the devices that read backups of the NetBackup catalog and regular backups of the disk being restored. If a non-robotic drive is available that can read these backups, then no robot is required. Although manual intervention is required if multiple pieces of media are required.

      See the NetBackup Device Configuration Guide.

    • Discover and configure the recovery device in NetBackup.

      See the NetBackup Web UI Administrator's Guide, Volume I.

    • Use the NetBackup command tpautoconf to discover and configure the recovery device in NetBackup.

      See the NetBackup Commands Reference Guide.

    • Update the device mapping files.

      See the NetBackup Web UI Administrator's Guide, Volume I

  9. If you must restore from the policy backups or catalog backups that were done to media, the appropriate media may have to be configured in NetBackup.

    See the NetBackup Administrator's Guide, Volume I.

    When you configure the media, you may have to do some or all of the following:

    • Manually load the required media into a standalone recovery device.

    • Use the NetBackup utilities such as robtest or vendor-specific robotic control software to load media into the required recovery devices.

    • Inventory the media contents of a robotic device.

    • Use the vendor-specific robotic control software to load the media into the required recovery devices.

  10. Recover the NetBackup catalogs. How you recover the catalog depends on which part or parts of the catalog you want to recover.

    See Options to recover the NetBackup catalog.

  11. When the catalog recovery is complete, stop and restart the NetBackup services. Use the following bpdown and bpup commands, the Activity monitor, or the Services application in the Windows Control Panel.
    install_path\NetBackup\bin\bpdown
    install_path\NetBackup\bin\bpup

    Warning: In step 12, do not restore files to the following directories:

    install_path\NetBackup\db
    install_path\NetBackup\var
    install_path\NetBackupDB
    install_path\Volmgr\database

    These directories were recovered in step 10 and overwriting them with regular backups leaves the catalogs in an inconsistent state. If the databases were relocated using nbdb_move from install_path\NetBackupDB\data, they are recovered in step 10 and should not be restored in step 12.

  12. To restore all other files, do the following steps in the order presented:

    • Open the NetBackup web UI on the primary server.

    • Start the Backup, Archive, and Restore client interface.

    • Browse for restores and select only the partitions that were lost. Select the system directory (typically C:\Windows), which ensures that all registry files are restored.

    • Deselect the following directories:

      install_path\NetBackup\db install_path\NetBackupDB (or relocated NetBackup database path)

      install_path\NetBackup\var

      install_path\Volmgr\database

      See the caution in this procedure.

    • If you reinstall Windows, select the Overwrite existing files option, which ensures that existing files are replaced with the backups.

    • Start the restore.

  13. Restart the system, which replaces any files that were busy during the restore. When the restart process is complete, the system is restored to the state it was in at the time of the last backup.

Feedback

Was this page helpful?
Previous

Recovering the primary server with Windows intact

Next

About recovering the NetBackup media server disk for Windows

Feedback

Was this page helpful?