Skip to main content

rollback command

Use the rollback command to check the rollback list and rollback task status, and roll back the updates to the old versions.

Note
  • The rollback command can only be used on the ThinkSystem V4 servers.

  • MicroSD card is required if users roll back the updates to a specific version; otherwise, users can only roll back the updates to the previous version.

rollback command syntax

Usage: OneCli.exe update rollback < --query> < --repo <int>>
[--bmc|-b <arg>] [--wait <arg>]
[--output|-o <arg>] [--help|-h]
Table 1. rollback command specific parameters
ParameterRequired/OptionalNotes
--bmc, -bOptional

Connect user credential to BMC IP.

By default, the format is: user:password@host[:port] or user@host[:port]

--output, -oOptionalOutput the result in the onecli-update-scan.xml file. If the file already exist, it will be overrided.

By default, the format is: “./OneCLI-%PID%-%date%-%time%/”

--queryOptionalDisplay the historic bundle repository information.
--repoOptionalSpecify a historic bundle repository to rollback firmware.

Example of the rollback command

OneCli.exe update rollback --query [--bmc <bmc user>:<bmc password>@<bmc address>]
Note
The system might be automatically restarted when using the rollback --repo command. Following is an example:
D:\Tools\OneCli\lnvgy_utl_lxce_onecli01m-5.2.0_windows_indiv>OneCli.exe update rollback --repo 3 -b USERID:PASSW0RD@bmcip 
--log 5
[1s]Certificate check finished [100%][=========================================================================>]
Start to rollback firmware to repository N-3 ...
Task created, task ID: 81
Use command "OneCli update checktask --taskid <staged task id>" to check flashing result
Succeed.