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. Using Snapshot Client with NetBackup for DB2
  4. Restoring NetBackup for DB2 from a snapshot backup
  5. Performing a snapshot rollback restore from the command line
Veritas NetBackup™ for DB2 Administrator's Guide

Performing a snapshot rollback restore from the command line

This topic describes how to perform a snapshot rollback restore with the bpdb2proxy command.

To specify a snapshot rollback restore from the command line

  1. If the file .SQLCRT.FLG exists, delete it.

    DB2 creates the .SQLCRT.FLG file when it creates a directory (usually during tablespace creation). For volume level rollback restores this file cannot be present. The directory structure must be present at the time DB2 creates a tablespace or you must delete this file after DB2 creates the directory during tablespace creation.

  2. Use the bpdb2proxy command in the following format:

    UNIX: /usr/openv/netbackup/bin/bpdb2proxy -rollbkrestore -d <DBALIAS> [-u <user> -p <password>] [-s <sessions>] [-n <node number>] [-t <mm/dd/yyyy [HH:MM:SS]>] [-S <ServerName>] [-options <options string>]

    Windows: install_path\NetBackup\bpdb2proxy -rollbkrestore -d <DBALIAS> [-u <user> -p <password>] [-s <sessions>] [-n <node number>] [-t <mm/dd/yyyy [HH:MM:SS]>] [-S <ServerName>] [-options <options string>]

    Where:

    -rollbkrestore

    Specifies that this restore is from a snapshot rollback.

    -d dbalias

    Database alias.

    -u user

    User name of the DB2 user.

    -p password

    Password for the DB2 user.

    -s session

    The number of sessions. Optional.

    -n node_number

    The node number. The default is 0. Optional.

    -t mm/dd/yyyy [HH:MM:SS]

    (Optional) The time of the backup.

    The values are as follows:

    • For mm, type the month.

    • For dd, type the day of the month.

    • For yyyy, type the year.

    • For HH, type the hour of the day. Optional.

    • For MM, type the minute of the hour. Optional.

    • For SS, type the second of the minute. Optional.

    -S <ServerName>

    The name of the server the restore is performed on.

    -options <options string>

    Specifies the options that are to be used for the restore operation. Currently, the only option is DB2_RESTORE_PRIORITY. By default, the preset priority for restore jobs is 90000, which is the highest preset job priority of any other NetBackup job. The available range is 0 - 99999. The higher the number, the greater the job priority.

    You must use an = sign to specify the value of the option. Example:

    bpdb2proxy -options "DB2_RESTORE_PRIORITY=100"

More Information

Performing a snapshot rollback restore from the Java or Windows interface

About restoring individual files from a NetBackup for DB2 snapshot backup

Troubleshooting NetBackup for DB2 rollback restores

How Snapshot Client software affects templates and scripts

Feedback

Was this page helpful?
Previous

Performing a snapshot rollback restore from the Java or Windows interface

Next

Troubleshooting NetBackup for DB2 rollback restores

Feedback

Was this page helpful?