bmrprep

bmrprep — prepare a client for restore or discovery

SYNOPSIS

<nbu_dir_path>bmrprep -restore -client clientName -config configurationName -srt srtName [-policy policyName] [-logging] [-runep] [-systemonly] [-import] [-enddate enddate] [-quickformat]

<nbu_dir_path>bmrprep -discover -newconfig configurationName -srt srtName [-client clientName -config configurationName] -address clientAddress -default defaultGateway -netmask netmask -mac clientMacAddress -server nbuServerAddress -console consoleDeviceName -architecture architectureName [-gateway serverGateway] [-logging] [-runep]

On Windows systems, <nbu_dir_path> is <install_path>\NetBackup\bin\

DESCRIPTION

The bmrprep command prepares a Bare Metal Restore client for a restore or for a hardware discovery process. This command only runs on the Bare Metal Restore master server.

OPTIONS

-address clientAddress

(UNIX and Linux clients only.) IP address of the client, in dotted decimal notation. Required only for a -discover operation; optional if -client and -config options are specified.

-architecture architectureName

(UNIX and Linux clients only.) Architecture of the client to be discovered. Required only for a -discover operation; optional if -client and -config options are specified.

-client clientName

Name of the client to restore.

-config configurationName

Name of the configuration to use.

-console consoleDeviceName

(UNIX and Linux clients only.) Name of the console device to use during discovery. Required only for a -discover operation; optional if you specify the -client and -config options or use media boot.

-default defaultGateway

(UNIX and Linux clients only.) Default gateway address, in dotted decimal notation. Required only for a -discover operation; optional if you specify the -client and -config options or use media boot.

-discover

(UNIX and Linux clients only.) Perform a hardware discovery. Cannot be used with -restore.

-enddate enddate

Date for point-in-time restores.

The required date and time values format in NetBackup commands varies according to your locale. The /user/openv/msg/.conf file (UNIX and Linux) and the install_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.

More information is available about the locale of your system.

See the "Specifying the locale of the NetBackup installation" topic in the NetBackup Administrator's Guide, Volume II.

-gateway serverGateway

(UNIX and Linux clients only.) Gateway to a NetBackup server, in dotted decimal notation. Required only for a -discover operation.

-import

Import non-system volume groups.

For more information about how to use this flag, see "Prepare to Restore Client dialog box " in the Bare Metal Restore Administrator's Guide.

-logging

Enable logging.

-mac clientMacAddress

(UNIX and Linux clients only.) MAC address of the client. Required only for a -discover operation. (Exception: Optional if the IP address is configured during initial program load (IPL)); optional if you specify the -client and -config options or use media boot.

-netmask netmask

(UNIX and Linux clients only.) Netmask of the client, in dotted decimal notation. Required only for a -discover operation; optional if -client and -config options are specified.

-newconfig configurationName

(UNIX and Linux clients only.) Name to be given to the discovered configuration.

-policy policyName

Name of the policy to be used.

-quickformat

(Windows clients only.) Quickly formats Windows partitions.

-restore

Performs a normal restore. Cannot be used with -discover.

-runep

Runs external procedures.

-server nbuServerAddress

(UNIX and Linux clients only.) A NetBackup server address, in dotted decimal notation. Required only for a -discover operation; optional if -client and -config options are specified.

-srt srtName

Name of the shared resource tree to use.

-systemonly

Restores system volume groups only.

For more information about how to use this option, see "Prepare to Restore Client dialog box " in the Bare Metal Restore Administrator's Guide.

NOTES

If you use NetBackup Access Management and your user credentials and the machine credentials expire, to 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 machine credentials.

You can specify -? to display a synopsis of command usage when it is the only option on the command line.