Restore
Command
LightwareDeviceUpdaterV2_CLI.cmd restore [options]
Options
Option Description Required?
or
one of them is
mandatory
or
or yes
or
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.12 --backupFile C:\mybackup.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.12 --backupFile C:\mybackup.lw3 --keepOriginalIp
[2021-05-12 10:49:36.412] [ INFO] [ main] - Executing configuration restore...
[2021-05-12 10:49:36.425] [ INFO] [ main] - Device IPs: [192.168.1.12]
In that case,
Package Options
Command
LightwareDeviceUpdaterV2_CLI.cmd packageOptions [options]
Options
Option Description Required?
or yes
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd packageOptions
--package c:\Firmwares\tps-tx200_v1.3.2b3.lfp2
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar packageOptions
--package c:\Firmwares\tps-tx200_v1.3.2b3.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)