8. Firmware Update UMX-TPS-TX100 series – User's Manual 155
Restore
TIPS AND TRICKS:
Command
LightwareDeviceUpdaterV2_CLI.cmd restore [options]
Options
Option Description Required?
-i or --ip
one of them is
mandatory
-n or --hostName
-b or --backupFile yes
-k or --keepOriginalIp
Do not override the network settings of the device with the ones
Default: false
optional
ATTENTION!
update command.In that case, there is no need to run the restore command after the update.
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd restore --ip
192.168.1.14 --backupFile c:\My_backup\backup_UMX_TPS_TX140K_SN00006363.lw3 --keepOriginalIp
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar restore --ip
192.168.1.14 --backupFile c:\My_backup\backup_UMX_TPS_TX140K_SN00006363.lw3 --keepOriginalIp
[2021-05-14 14:11:04.631] [ INFO] [ main] - Executing configuration restore...
[2021-05-14 14:11:04.645] [ INFO] [ main] - Device IPs: [192.168.1.14]
INFO:
In that case,
restoring is recommended.
Package Options
Command
LightwareDeviceUpdaterV2_CLI.cmd packageOptions [options]
Options
Option Description Required?
-p or --package yes
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd packageOptions
--package c:\Firmwares\umx-tps-tx100_v1.5.0b4.lfp2
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar packageOptions
--package c:\Firmwares\umx-tps-tx100_v1.5.0b4.lfp2
Backup and restore options:
--skipPresetsAtRestore : if true, device presets will not be restored. (Default: false)
--uploadDefaultMiniWeb : if true and no custom miniweb is present on the device, the default built-in
miniweb will be uploaded to the device. (Default: false)
Login options:
--clearTextLoginPw : The cleartext login password used when updating devices. (Default: empty string)
Test options:
--test : if true, no update will be performed, communication with the device will be tested. (Default:
false)
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>
Package option example can be seen in the following section.