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. Veritas NetBackup™ for MySQL Administrator's Guide
  3. NetBackup for MySQL backup and restore
  4. Performing the restores for MySQL databases
Veritas NetBackup™ for MySQL Administrator's Guide

Performing the restores for MySQL databases

This topic lists the prerequisites and describes the procedure to restore the backups.

Note:

Ensure that the MySQL agent and NetBackup are of same version for successful backup and restore operations.

Prerequisites

Before you restore the backups, you must meet the following prerequisites:

  • Ensure that versions of the MySQL agent and NetBackup are same. If you upgrade NetBackup to newer version, then you must upgrade the agent version also.

  • Ensure that the user has administrator (Windows) or root (Linux) access.

  • Ensure that you restore the MySQL instance to an empty target directory.

  • Ensure that the target directory is a valid instance directory.

  • (Non-LVM) Ensure the MySQL services are running.

To restore the backups

  1. Configure the parameters in the nbmysql.conf file, or specify them using the nbmysql command.

    For more information, See The nbmysql configuration file.

  2. Verify that the MySQL services are running for Non-LVM restores.
  3. Run the following command:

    nbmysql -o restore -S master_server_name -t target_directory -p db_port [-i copy_id] [-C client_name] [-u db_user] [-H db_host]

    Note:

    For non-LVM restores, DB_HOST and DB_USER parameter are also required.

Feedback

Was this page helpful?
Previous

About NetBackup for MySQL restores

Next

Redirected restores

Feedback

Was this page helpful?