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

Name

bmrc — submit requests to the Bare Metal Restore server daemon

SYNOPSIS

bmrc -operation change -resource { restoretask | discovertask } [-client clientName] -state numericCode -progress numericCode

bmrc -operation complete -resource { restoretask | discovertask } [-client clientName] -state numericStateCode

bmrc -operation create -resource log [-client clientName]

bmrc -operation create -resource message [-client clientName] -msg messageText

bmrc -operation pull -resource { info | procedure } [-client clientName] -source sourceFileName -destination destinationFileName

 

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

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

DESCRIPTION

The bmrc client program runs on a Bare Metal Restore (BMR) client and submits requests to the BMR server daemon. The operation and resource are specified as arguments.

When you initiate bmrc from an external procedure in the repair environment on a restoring client, specify the path to the bmrc command as follows:

On UNIX systems, /usr/openv/netbackup/bin

On Windows systems, %SystemDrive%\BMR\NBU\bin

On Windows systems, at the first boot external procedure point, bmrc is in install_path\NetBackup\bin.

OPTIONS

-client clientName

Name of the Bare Metal Restore client.

On UNIX systems, -client is optional if CLIENT_NAME is defined in /usr/openv/netbackup/bp.conf on the client system.

-destination destinationFileName

On pull operation, the pathname of the file to be created on the local host.

-msg messageText

Text message to be added to the log on the server.

-operation operationName

An operation to perform:

change
complete
create
pull
-progress numericCode

A numeric progress code that is used internally by Bare Metal Restore.

-resource resourceName

A resource on which to perform the operation:

discovertask
info
log
message
procedure
restoretask
-source sourceFileName

On pull operation, name of file to retrieve from database.

-state numericCode

A numeric state code that is used internally by Bare Metal Restore.

EXAMPLES

Example 1 - Change the status of a discovery task:

# bmrc -operation change -resource discovertask -client clientName 
-state numericCode -progress numericCode

Example 2 - Change the status of a restore task:

# bmrc -operation change -resource restoretask -client clientName 
-state numericCode -progress numericCode

Example 3 - Complete a discovery task and set a final status code:

# bmrc -operation complete -resource discovertask -client clientName 
-status numericStatus

Example 4 - Complete a restore task and set a final status code:

# bmrc -operation complete -resource restoretask -client clientName 
-status numericStatus

Example 5 - Create a log on the server from standard input to this command:

# bmrc -operation create -resource log -client clientName

Example 6 - Create a message, which is added to a log on the server:

# bmrc -operation create -resource message -client clientName -msg 
message text

Example 7 - Pull a file from the server:

# bmrc -operation pull -resource info -client clientName -source 
sourceFileName -destination destinationFileName

Example 8 - Pull an external procedure from the server:

# bmrc -operation pull -resource procedure -client clientName 
-source sourceFileName -destination destinationFileName

NOTES

If you use NetBackup Access Management, and the user credentials and computer credentials expire, renew them before you perform prepare-to-restore operations. Use the bpnbat -Login command to renew your user credentials. Use the bpnbat -LoginMachine command to renew the computer credentials.

Specify -? to display the command's usage statement when it is the only option on the command line.

Feedback

Was this page helpful?
Previous

backuptrace

Next

bmrconfig

Feedback

Was this page helpful?