Simulation Mode of the Update Tool
The Update Tool has a simulation mode that can be run for all options.
The simulation mode can also be executed using the --dry-run
command.
How to run the Update Tool in simulation mode
Start the Update Tool as described here: Starting the Update Tool.
The following window opens:
Enter a number for one of the available options and press
ENTER
to confirm.The following query appears:
If you enter
yes
, the Update Tool starts in simulation mode.
If you enterno
, the Update Tool starts the actual migration.The next step prompts you to specify the path to the existing X4 installation:
Since the Update Tool is running in simulation mode, no actual backup of the existing installation is created. The creation of the backup is simulated:
Now enter the path to the ZIP folder of the new X4 installation:
The ZIP folder is unzipped. The default location is the folder where the ZIP folder is located. Here, the system creates a new folder called
TempForSimulation
that includes the unzipped contents.
If a folder of the same name and contents already exists, a query requests a new location. Here, you can enter any path to an empty folder on your hard drive. This folder is then the target directory for unzipping.
After successful unpacking, the following message appears:
It is also possible to update the X4 database in simulation mode.
The final steps of the migration in simulation mode are performed. The Update Tool displays information which actions are executed for each step and which classes are executed.
The final step is to clean up the
TempForSimulation
folder, which contains the extracted content from the zip file for the new X4 installation. The contents extracted from the ZIP file are deleted.
If you selected another folder to unzip the content, the extracted content is deleted from that folder.The logs of the update in simulation mode are written to a log file. This file is saved to the folder where the
*.jar
file for the Update Tool is located:\simulation-logs\UpdateToolSimulationLogs.log