Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
bmrs — manage resources in the Bare Metal Restore database
SYNOPSIS
-operation delete -resource config -name configName -client clientName -resource client -name clientName -resource package -name packageName -resource srt -name srtName -resource discovertasklog -id idvalue -resource restoretasklog -id idvalue
-operation complete -resource discovertask -client clientName -status numericStatus -resource restoretask -client clientName -status numericStatus
-operation verify -resource srt -name srtName [-client clientName]
-operation copy -resource config -name configName -client clientName -destination newConfigName
-operation retrieve -resource config -client clientName -destination newConfigName [-enddate date] [-epochenddate eEnddate] [-policy policyName]
-operation import -resource config -path bundlePath [-client clientName] [-destination newConfigName]
-operation list -resource resourceName
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 bmrs command manages resources in the Bare Metal Restore database. The bmrs command runs only on the master server.
OPTIONS
- -client clientName
Name of the Bare Metal Restore client.
- -destination newConfigName
Name of the destination configuration to create.
- -enddate date
The date for point-in-time restore configurations. If both -enddate and -epochenddate are specified, -epochenddate takes precedence.
The required date and time values format in NetBackup commands varies according to your locale. The
/usr/openv/msg/.conf
file (UNIX) and theinstall_path\VERITAS\msg\LC.CONF
file (Windows) contain information such as the date-time formats for each supported locale. The files contain specific instructions on how to add or modify the list of supported locales and formats.For more information about the locale of your system, see "About specifying the locale of the NetBackup installation" in the NetBackup Administrator's Guide, Volume II.
- -epochenddate eEnddate
The date for the point-in-time restore configurations. This date is specified in the number of seconds since January 1, 1970. If both -enddate and -epochenddate are specified, -epochenddate takes precedence.
- -id idvalue
Database record ID of the resource to use for this operation. It is either discoverTaskLogId or restoreTaskLogId.
- -name value
Name of the resource to use for this operation: clientName, configName, packageName, or srtName.
- -operation operationName
Possible operations are complete, copy, delete, import, list, retrieve, and verify.
- -path bundlePath
Pathname to a bundle file that the bmrsavecfg command creates.
- -policy policyName
Name of the policy to be used.
- -resource resourceName
A resource on which to perform the operation. The allowed resources vary with operation specified. For -operation list, the following resources are supported:
bootserver client config discovertask discovertasklog package restoretask restoretasklog srt
- -status numericStatus
A numeric completion status code, used internally by Bare Metal Restore.
EXAMPLES
Example 1 - List the configurations in the BMR database:
bmrs -operation list -resource config
Example 2 - Copy the current configuration (read-only) and create a new configuration (mynew) that you can edit for client aixp31:
bmrs -operation copy -resource config -name current -client aixp31 -destination mynew
Example 3 - Delete configuration mynew for client aixp31:
bmrs -operation delete -resource config -name mynew -client aixp31
Example 4 - Verify the integrity of shared resource tree aixsrt:
bmrs -operation verify -resource srt -name aixsrt
NOTES
If you use NetBackup Access Management and your user credentials and the computer credentials expire, renew them before you perform prepare-to-restore operations. Use the bpnbat -Login command to renew your user credentials and the bpnbat -LoginMachine command to renew the computer credentials.
You can specify -? to display the command usage statement when it is the only option on the command line.
SEE ALSO
See bmrc.