Migrating data from Portal Dedicated server
The backup and restoring of Elasticsearch and database data is only required if the Elasticsearch and/or database services are running on the same server as Portal Dedicated and the services are being moved to a new server.
The following are the steps required to move Portal Dedicated and dependent service data to a new server:
-
Install dependencies on the destination server:
-
Follow the steps in “Dependencies Installation” section in the installation guide for installing both Elasticsearch and PostgreSQL.
-
Follow the steps in the section for “Production Configuration”. Complete “Create a new self-signed certificate” and “Securing Elasticsearch”.
-
-
Stop the Portal Dedicated service on the source server:
sudo systemctl stop management-console
-
Backup Elasticsearch and PostgreSQL data on the source server:
-
See “Create snapshot of Elasticsearch data” section for full details
-
See “Create PostgreSQL database backup” section for full details
-
-
Restore Elasticsearch and PostgreSQL data on the destination server:
-
See “Restore Elasticsearch from snapshot” section for full details
-
See “Restore PostgreSQL database” section for full details
-
-
Complete the Portal Dedicated installation on the destination server as per the “Basic Automated Configuration” section of the Installation Guide. Now you have a configuration of Portal Dedicated and Elasticsearch on your destination server that is using the “default” values. If you have updated any of the default configurations on the source server, ensure the same changes are applied to the appropriate configuration files on the destination server before starting the Portal Dedicated service.
-
Re-connect Agents:
-
Ensure the Agent keystores/trustStores have the appropriate certificate(s) to connect to the Portal Dedicated and Elasticsearch in the destination server.
-
Ensure you have updated your
waratek.properties
to point to the correct location for the Portal Dedicated and Elasticsearch in the destination server. -
Restart the Agents
-