To preserve existing data (indicators, plugin configurations) while migrating from any version of CE to 3.1.5, follow these steps.
Enter your existing CE directory.
cd netskope/ta_cloud_exchange
Shutdown and remove existing containers.
docker-compose down
Make a backup of your existing CE directory.
cd.. mv ta_cloud_exchange ta_cloud_exchange_2_backup
Clone the latest version of the CE docker-compose package.
git clone https://github.com/netskopeoss/ta_cloud_exchange cd ta_cloud_exchange
Copy data from the previous CE instance to the latest CE instance.
sudo cp -R ta_cloud_exchange_2_backup/data/mongo-data/* data/mongo-data/
Execute the setup script and follow the steps.
sudo ./setup
Launch Cloud Exchange 3.
sudo ./start