<nbu_dir_path>bmrc -operation change -resource { restoretask | discovertask } [-client clientName] -state numericCode -progress numericCode
<nbu_dir_path>bmrc -operation complete -resource { restoretask | discovertask } [-client clientName] -state numericStateCode
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 Windows systems,
%SystemDrive%\BMR\NBU\bin
At the first boot
external procedure point, bmrc is in
install_path\NetBackup\bin
.
Change the status of a discovery task:
# bmrc -operation change -resource discovertask -client clientName -state numericCode -progress numericCode
Change the status of a restore task:
# bmrc -operation change -resource restoretask -client clientName -state numericCode -progress numericCode
Complete a discovery task and set a final status code:
# bmrc -operation complete -resource discovertask -client clientName -status numericStatus
Complete a restore task and set a final status code:
# bmrc -operation complete -resource restoretask -client clientName -status numericStatus
Create a log on the server from standard input to this command:
# bmrc -operation create -resource log -client clientName
Create a message, which is added to a log on the server:
# bmrc -operation create -resource message -client clientName -msg message text
# bmrc -operation pull -resource info -client clientName -source sourceFileName -destination destinationFileName
Pull an external procedure from the server:
# bmrc -operation pull -resource procedure -client clientName -source sourceFileName -destination destinationFileName
If you use NetBackup Access Management and the user credentials and computer credentials are expired, renew them before you perform prepare-to-restore operations. Use the bpnbat command and -Login option to renew your user credentials. Use the bpnbat command and -LoginMachine option to renew the computer credentials.
Specifying -? displays the command's usage statement when it is the only option on the command line.