The bmrepadm command lists, adds, extracts, or deletes external procedures from the database. The bmrepadm command is installed and run on the NetBackup master server that is licensed for BMR.
A procedure name (procedure Name) must be in the form type.os or name_type.
Lists the entries (external procedures or user-supplied data files) in the database. Only the entries that match the pattern are listed; if no pattern is specified, all entries in the database are listed. The "*" character may be used in the pattern to match any sequence of characters.
bmrepadm does not validate client names. That is, you can add an external procedure for a nonexistent client).
If you use NetBackup Access Management and if your user credentials and the computer credentials expire, 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 a synopsis of command usage when it is the only option on the command line.
# bmrepadm -data -add nameNotMatchingEPname
# bmrepadm -data -list
Add an external procedure that runs for all Solaris clients after the NetBackup restore phase of restoration:
bmrepadm -add <pathname>postrestore.sol
Add an external procedure
that runs before the disks are formatted on a client that is named
zanzibar
:
bmrepadm -add <pathname>zanzibar_preformat