Starting from version 0.9.0 the system installation and configuring procedure have changed significantly. The only way to upgrade from a version older than 0.9.0 is by restoring the system data dump.
This can be done in the following steps:
- Perform the data dump
- Install a new version of the ELMA system on a new virtual machine
- Restore data from the backup to the installed version
- Verify that the system operates correctly and data restoration was successful.
- Uninstall the version of the system you are making an upgrade from.
To perform the data dump, run the script below, which starts job for the dumping of all the data. The script stops all the ELMA365 services and restarts them after the data dump is completed.
sudo curl -fsSL -o elma365-pre0.9-dump.sh https://dl.elma365.com/onPremise/elma365-pre0.9-dump && sudo chmod +x elma365-pre0.9-dump.sh && sudo ./elma365-pre0.9-dump.sh
Run the script and wait for it to complete. The dump will be saved to the /backup/ folder in a sub-folder having the current timestamp as the folder name.
We recommend installing the new ELMA365 system on a newly created virtual machine or make a backup copy of the existing virtual machine.
For restoring data to the already installed and running ELMA365 version, run the following command:
elma365ctl restore --path=/backup/<FOLDER>/