Skip to main content

backup command

Use the backup command to backup all configuration settings, or back up SED AK on SE350 V2 and SE360 V2 by using the --redfish parameter.

backup command syntax

OneCli.exe config backup [setting] --file [arg] –passphrase[arg] [common options] --redfish

Table 1. backup command specific parameters
ParameterRequired/OptionalNotes
--fileRequired

Specify the key file name for restoring Self-encrypting Drive Authentication Key (SED AK) or configuration settings, which contains the enciphered messages.

--kcsOptionalForce to use IPMI over KCS local interface.
--passphraseRequiredThe passphrase to backup and restore SED AK or configuration settings in a file.
  • --bmc, -b

  • --bmc-username, -u

  • --bmc-password, -w

  • --bmc-cim-port, -p

  • --config

  • --configfile

  • --check-trust, -C

  • --node, -n

  • --nolog

  • --never-check-trust, -N

  • --output, -o

  • --redfish

Optional

Refer to Table 2.

Example of the backup command

To backup SED AK:

OneCli.exe config backup Security.SED_AK --passphrase xxxxxx --file backup.txt 
--bmc USERID:PASSW0RD@XX.XX.XX.XX --redfish

To backup the configuration settings:

OneCli config backup --passphrase xxxxxx --scope wholeFile --file backup.txt 
--bmc USERID:PASSW0RD@XX.XX.XX.XX –redfish