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 Hadoop Administrator's Guide
  3. Performing backups and restores of Hadoop
  4. About restoring a Hadoop cluster
  5. Restoring Hadoop data on the same Hadoop cluster
  6. Using the bprestore command to restore Hadoop data on the same Hadoop cluster
Veritas NetBackup™ for Hadoop Administrator's Guide

Using the bprestore command to restore Hadoop data on the same Hadoop cluster

The bprestore command lets you restore a backed up or archived file or list of files. You can also name directories to restore. If you include a directory name, bprestore restores all files and subdirectories of that directory. You can exclude a file or a directory path that was previously included in the restore by placing an exclamation mark (!) in front of the file or the directory path (does not apply to NDMP restores). For example, the exclude capability is useful if you want to exclude part of a directory from the restore.

To restore Hadoop data on the same location as your backup location

  1. Log on as an Administrator or root user based on windows or UNIX system respectively.
  2. Run the following command on the NetBackup master server by providing appropriate values:

    bprestore -S master_server -D backup_host -C client -t 44 -L progress log -f listfile

    Where,

    -S master_server

    Specifies the name of the NetBackup master server.

    -D backup host

    Specifies the name of the backup host.

    -C client

    Specifies a NameNode as a to use for finding backups or archives from which to restore files. This name must be as it appears in the NetBackup catalog.

    -f listfile

    Specifies a file (listfile) that contains a list of files to be restored and can be used instead of the file names option. In listfile, list each file path must be on a separate line.

    -L progress_log

    Specifies the name of whitelisted file path in which to write progress information.

    -t 44

    Specifies BigData as the policy type.

To restore Hadoop data on an alternate location

  1. Log on as an Administrator.
  2. Run the following command on the NetBackup master server by providing appropriate values:

    bprestore -S master_server -D backup_host -C client -t 44 -L progress log -R rename_file -f listfile

    Where,

    -S master_server

    Specifies the name of the NetBackup master server.

    -D backup host

    Specifies the name of the backup host.

    -C client

    Specifies a NameNode as a source to use for finding backups or archives from which to restore files. This name must be as it appears in the NetBackup catalog.

    -f listfile

    Specifies a file (listfile) that contains a list of files to be restored and can be used instead of the file names option. In listfile, list each file path must be on a separate line.

    -L progress_log

    Specifies the name of whitelisted file path in which to write progress information.

    -t 44

    Specifies BigData as the policy type.

    -R rename_file

    Specifies the name of a file with name changes for alternate-path restores.

    Change the /<source_folder_path> to /<destination_folder_path>

Feedback

Was this page helpful?
Previous

Using the Restore Wizard to restore Hadoop data on the same Hadoop cluster

Next

Restoring Hadoop data on an alternate Hadoop cluster

Feedback

Was this page helpful?