Migrating VMmanager from the source server to the target server consists of the following steps:
- Import VMmanager data. The import order depends on whether you need to migrate statistics data.
- Import the domain name if it assigned to the source server.
- Change the license token.
As the platform is in the process of transitioning to the PostgreSQL DBMS, different instances of VMmanager may use different DMBS.
The platform uses PostgreSQL in all new installations starting with version 2026.03.1. In all other cases, the platform uses MySQL. The DBMS is not changed when the platform is updated.
To determine the type of DBMS, run the following command on the platform server:
docker ps --filter name=pgsqlCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3213c5dc94d0 postgres:12 "docker-entrypoint.s…" 5 days ago Up 4 days 5432/tcp pgsqlIf the command output contains information about the container, the platform uses PostgreSQL; if the response is empty, it uses MySQL.
Step 1. Import VMmanager data
- On the target server:
- Install VMmanager. Read more in the article Installation.
-
Stop VMmanager and delete the containers:
vm down -
Delete the data created by the installer:
Before executing the command, make sure it is running on the target server.rm -rf /opt/ispsystem/vm/mysql /opt/ispsystem/vm/clickhouse /opt/ispsystem/vm/config.json - Check that the nodes and virtual machines of the source server are accessible from the target server. Edit the firewall configuration if needed.
- On the source server:
- If migrating statistics data is not required:
- Create a backup of the platform. Read more in the Creating platform backups.
-
Stop VMmanager and delete its docker containers:
vm down - Copy the backup file from /opt/ispsystem/vm/backup/ directory to the target server:
- If you need to migrate statistics data:
-
Stop VMmanager and delete its docker containers:
vm down - Copy files and directories to the target server:
- /opt/ispsystem/vm/mysql/ — if the platform uses MySQL;
- /opt/ispsystem/vm/pgsql/ — if the platform uses PostgreSQL;
- /opt/ispsystem/vm/telegram-srv/ — if you use Telegram notification sending;
- /opt/ispsystem/vm/clickhouse/ — statistics data;
- /opt/ispsystem/vm/config.json — platform configuration file.
-
- If migrating statistics data is not required:
- On the target server:
- If you moved the /opt/ispsystem/vm/config.json file, specify the IP address or domain name of the target server in the DomainName parameter.
-
Start VMmanager:
vm start - If you migrated your data through a backup, restore the data using the instructions in the Creating platform backups article.
- If the migration was successful, remove the platform from the source server:
-
Stop VMmanager service and disable it:
systemctl stop vm.servicesystemctl disable vm.service -
Delete the information about the platform operation:
Before executing the command, make sure it is running on the source server.rm /opt/ispsystem/vm -rf -
Remove the installed docker images and containers:
docker system prune -a -f -
Remove Docker software:
AlmaLinuxyum remove docker-ce docker-ce-cli docker-ce-rootless-extras containerd.ioUbnutuapt remove docker-ce docker-ce-cli docker-ce-rootless-extras containerd.io
-
Step 2. Move the domain name
- Edit the A-record of your NS server: change the IP address of the source server into the IP of the target one.
- If an SSL certificate is connected to the domain, follow the instructions in the article Connecting the SSL certificate.
Step 3. Change the license token
When moving the platform to the new server, you need to recreate the license token. If you purchased a license from ISPsystem, change the Token value for your license in eu.ispsystem.com client area.
To update your license token information:
- Connect to the platform server via SSH with superuser permission (the default user is root).
-
Delete all files from the /opt/ispsystem/license/ directory except machine_id:
find /opt/ispsystem/license/ -type f -not -name 'machine_id' -delete - Activate the license in one of two ways:
- via the platform interface:
- Click the Settings button in the pop-up message about the blocking or in the right menu click the
icon → System overview in the right menu. - In the License token field enter the value of the license token.
- Click the Activate button.
- Click the Settings button in the pop-up message about the blocking or in the right menu click the
- via the terminal:
- Connect to the platform server via SSH with superuser permission (the default user is root).
- Run the command:
vm license update -t <license_token>
- via the platform interface:
En
Es