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 DB2 Administrator's Guide
  3. Performing backups and restores of DB2
  4. Performing a database restore
  5. Using the NetBackup for DB2 recovery wizard
  6. Using bpdbsbdb2 for a database restore
Veritas NetBackup™ for DB2 Administrator's Guide

Using bpdbsbdb2 for a database restore

The bpdbsbdb2 command lets you run a recovery template that the NetBackup Recovery wizard creates.

At the command line, type the following:

Windows: install_path\netbackup\bin\bpdbsbdb2 -restore -r -t templ_name -i instance_name

UNIX: /usr/openv/netbackup/bin/bpdbsbdb2 -restore -r -t template_name -i instance_name

The -r runs a template, and the -t identifies the template.

For example:

Windows: bpdbsbdb2 -restore -r -t \db2\restore_templates\full_restore.tpl -i DB2INST

UNIX: /usr/openv/netbackup/bin/bpdbsbdb2 -restore -r \ -t /db2/restore_templates/full_restore.tpl -i DB2INST

Restore templates do not reside in a predetermined location on the master server. They are considered to be temporary in nature and should reside on the client. If the full path is not specified as part of the restore template name, the file might not be found.

You can create a script from a template with bpdbsbdb2.

More Information

Creating shell scripts using bpdbsbdb2

Performing a database restore

Using DB2 to perform a restore

Using the recovery wizard

Feedback

Was this page helpful?
Previous

Using the recovery wizard

Next

Using DB2 to perform a restore

Feedback

Was this page helpful?