ELMA365 On-Premises > Other > Install ELMA365 to MicroK8s > Update ELMA365 / How to update versions older than 0.9.0

How to update versions older than 0.9.0

Starting from version 0.9.0, the system installation and configuration procedures have significantly developed. The only way to upgrade from a version older than 0.9.0 is by restoring a system data dump.

You need to do the following:

  1. Make a data dump.
  2. Install a new version of the system on a new virtual machine.
  3. Restore data from the backup to the installed version.
  4. Verify that the system operates correctly and the data restoration was successful.
  5. Uninstall the version of the system you are making an upgrade from.

To perform the data dump, run the script below, which starts a job that dumps 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 with the current date in the name.

начало внимание

We recommend installing the new ELMA365 system on a new virtual machine or make a backup copy of the existing virtual machine with the system.

конец внимание

You can restore data in the new ELMA365 version when it is installed and running. To do that, use the following command:

elma365ctl restore --path=/backup/<FOLDER>/

Found a typo? Highlight the text, press ctrl + enter and notify us