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. About an alternate restore
  5. Restoring the transaction logs
Veritas NetBackup™ for DB2 Administrator's Guide

Restoring the transaction logs

Perform this procedure if one of the following is true:

  • The archive logs did not originally reside on a raw device.

  • The user exit program was used to back up the archive logs.

To restore the transaction logs

  1. On the destination client, create a directory for the restored transaction log files.

    For example:

    Windows: mkdir C:\db\db2_v5\home\db2inst1\NODE0000\SQL00001\SQLOGDIR

    UNIX: mkdir /db/db2_v5/home/db2inst1/NODE0000/SQL00001/SQLOGDIR

  2. Use the bprestore command to restore the logs.

    For example:

    Windows: bprestore install_path\db\db2_v5\home\db2inst1\ NODE0000\SQL00001\SQLOGDIR\S00001.LOG

    UNIX: bprestore /db/db2_v5/home/db2inst1/NODE0000/SQL00001 /SQLOGDIR/S00001.LOG

  3. If the directory into which you restored the log files is not correct for the destination database, move the logs to the proper location.
  4. Verify that the correct owner and group permissions are enabled on the log directory.

More Information

Preparing the master server for an alternate restore

About an alternate restore

Performing the alternate restore on the clients

Performing a database restore

NetBackup for DB2 backup overview

Feedback

Was this page helpful?
Previous

Performing the alternate restore on the clients

Next

Using Snapshot Client with NetBackup for DB2

Feedback

Was this page helpful?