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. NetBackup™ Commands Reference Guide
  3. Appendix A. NetBackup Commands
  4. bpcleanrestore
NetBackup™ Commands Reference Guide

Name

bpcleanrestore — restore clean files from NetBackup Server

SYNOPSIS

bpcleanrestore -restorecleandata -C client -S master_server [-D destination_client] -t policy_type -p policy [-st "MM/DD/YYYY [HH:MM:SS]"] [-et "MM/DD/YYYY [HH:MM:SS]"]

 

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/goodies/

On Windows systems, the directory path to this command is install_path\NetBackup\bin\goodies\

DESCRIPTION

NetBackup supports malware scanning for unstructured data with supported malware scanners. If a system or data is destroyed or taken offline, you can restore from a last known good image once you scan the data.

Use the bpcleanrestore command to restore clean data from infected backup images. The following operations are performed:

  1. Identify the malware-infected backup images in given date range.

  2. Skip the infected files and restore clean data.

OPTIONS

-C client

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

-D client

Specifies a destination client. The default is the current client name, not the source client.

Users with administrative rights on the master server can use this option to direct restored files to a client other than the one specified with the -C option.

-et date

Specifies an end date and time for the restore window. The bpcleanrestore command restores only clean files in the backups or the archives that occurred at or before the specified date and time. Format the date and the time as shown: MM-DD-YYYYHH:MM:SS.

If start date and end date are not specified, then last 24 hours backup taken images are considered.

-p policy

Specifies the policy for which the backups or archives were performed.

-st date

Specifies the start and the end date range for the listing. The bpcleanrestore command restores only the clean files from backups or the archives that occurred within the specified start and end date range. Format the date and the time as shown: MM-DD-YYYYHH:MM:SS.

If start date and end date are not specified, then last 24 hours backup taken images are considered.

-S master_server

Specifies the name of the NetBackup server.

-t policy_type

Specifies one of the following numbers that corresponds to the policy type. Following policy types are supported.

  • 0 = Standard

  • 13 = MS-Windows

Feedback

Was this page helpful?
Previous

bpchangeprimary

Next

bpclient

Feedback

Was this page helpful?