Docker
Migration from 3.10 (or less) to 3.11 (or up) requires additional steps because we have significantly improved the data protection mechanism - now it is built on certificates and doesn't require entering the password manually on server start. Please follow these steps to update your IES:
Update all IPI Clients to 3.15.X, the new version can work with both old and new versions of the IES.
Disable the Data Protection on the IES.
Update the server using the following instruction.
Enable Data Protection again.
Create folder for backup
Backup the Database (Optimal(for possible further recovery)):
MySQL Database:
The following command will create a copy of the database (dump) in file db.sql in /opt/IES.old
directory (on host) from container with name hes-mysql
:
MS SQL Database:
The following command will create a backup of the database db
in file db.bak
in /opt/IES/mssql/data/
local directory:
instead of "C00ll_Passwrd_here", enter your password here, which you specified in the /opt/IES/docker-compose.yml
file
Stop containers:
(Optimal) Save the image of IES to a tar file (for possible further recovery):
Remove image of IES:
To upgrade the server to the latest version, run commands:
and Restart containers:
If something goes wrong, you can restore the IES server using the following commands:
Stop containers:
Remove image of IES:
Restore the Database
My SQL:
Start MySQL container only:
Restore the MySQL Database from dump file:
MS SQL:
Start MS SQL container only:
Restore the MS SQL Database from bak file:
instead of "C00ll_Passwrd_here", enter your password here, which you specified in the /opt/IES/docker-compose.yml
file
Restore old image of IES from tar file:
and start containers:
After checking that the update was successful and everything works fine, you can delete copies of the database and server:
Last updated