CLI Guide

Table Of Contents
Table 23. Details of get (continued)
Multi-object Get
racadm get -f <filename>
racadm get -f <filename> -t xml -l <NFS share> [--clone | --replace ]
[--includeph]
racadm get -f <filename> -t xml -l <NFS share> -c <FQDD>[,<FQDD>*]
racadm get -f <filename> -t xml -u <username> -p <password> -l <CIFS
share> [--clone | --replace ] [--includeph]
racadm get -f <filename> -t xml -u <username> -p <password> -l <CIFS
share> -c <FQDD>[,<FQDD>*]
Input
<FQDD Alias>
Examples for FQDDs
System.Power
System.Power.Supply
System.Location
LifecycleController.LCAttributes
System.LCD
iDRAC.Serial
For the list of supported groups and objects under the get command, see Database Objects With Get and
Set Commands
<group>Specifies the group containing the object that must be read.
<object>Specifies the object name of the value that must be read.
<index>Specifies where FQDD Aliases or Groups must be indexed.
-f <filename>This option enables you to export multiple object values to a file. This option is not
supported in the Firmware RACADM interface.
-uSpecifies user name of the remote CIFS share to which the file has to be exported.
-pSpecifies password for the remote CIFS share to which the file has to be exported.
-lSpecifies network share location to which the file will be exported.
-tSpecifies the file type to be exported.
The valid values are:
JSON—It exports the SCP JSON file to a network share file.
xmlIt exports the SCP xml format file, either to a local or network share file.
iniIt exports the legacy configuration file. If -t is not specified, then the ini format file is
exported. It can only be exported to a local file.
NOTE:
To import or export Server Configuration Profile xml/JSON files, Lifecycle Controller
version 1.1 or later is required.
--cloneGets the configuration .xml files without system-related details such as service tag.
The .xml file received does not have any virtual disk creation option.
--replaceGets the configuration .xml files with the system-related details such as service tag.
-cSpecifies the FQDD or list of FQDDs separated by ',' of the components for which the
configurations should be exported. If this option is not specified, the configuration related to all the
components are exported.
--includephSpecifies that the output of the passwords included in the exported
configuration .xml/JSON file are in the hashed format.
NOTE:
if includeph is not used, the output of the passwords will be in the .xml/JSON file in clear
text.
NOTE: For --clone and --replace options, only .xml file template is received. These options
--clone and --replace cannot be used in the same command.
62 RACADM Subcommand Details