To export an entire configuration to an XML file, use the ilomconfig export config command.
ilomconfig export config --xmlfile=filename.xml
where filename.xml represents the file to which you are exporting the ILOM configuration.
For example:
# ilomconfig export config --xmlfile=config.xml Do you want to enter a passphrase to back up sensitive data? [y/n]? y Enter passphrase: ******** Wrote backup of ILOM configuration to 'config.xml'.
echo passphrase | ilomconfig export config --xmlfile=filename.xml
where passphrase is the passphrase that you want to use.
or
cat file_with_passphrase | ilomconfig export config --xmlfile=filename.xml
where file_with_passphrase is the file containing the passphrase.
For example:
# echo passphrase | ilomconfig export config --xmlfile=config.xml Enter passphrase: ******** Wrote backup of ILOM configuration to 'config.xml'.
The passphrase is automatically passed through the command line.
ilomconfig export config --xmlfile=filename.xml -y
where filename.xml represents the file to which you are exporting the ILOM configuration.
For example:
# ilomconfig export config --xmlfile=config.xml -y Wrote backup of ILOM configuration to 'config.xml'.
This option exports the ILOM configuration without using a passphrase.