Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
bmrc — submit requests to the Bare Metal Restore server daemon
SYNOPSIS
-operation change -resource { restoretask | discovertask } [-client clientName] -state numericCode -progress numericCode
-operation complete -resource { restoretask | discovertask } [-client clientName] -state numericStateCode
-operation create -resource log [-client clientName]
-operation create -resource message [-client clientName] -msg messageText
-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.