Migrating from CE 2.x to CE 3.x
To preserve existing data (indicators, plugin configurations) while migrating from any version of CE 2.x to CE 3.x, which includes Threat Exchange, Ticket Orchestrator, Risk Exchange, and Log Shipper modules, follow these steps.
Go to your existing Cloud Exchange Directory.
> cd netskope/ta_cloud_exchange
Shut down your existing Cloud Exchange 2 instance.
> docker-compose stop
Remove existing container definitions. Note that this does NOT remove your data.
> docker-compose rm
Confirm that Yes, you want to delete this.
Make a backup of your Cloud Exchange 2 database.
> cd .. mv ta_cloud_exchange ta_cloud_exchange_2_backup
Install the new version of Cloud Exchange 3.
cp ta_cloud_exchange_3.zip netskope/ unzip ta_cloud_exchange_3.zip
Set database permissions.
sudo chown -R 1001:1001 data/mongo-data sudo chmod 775 data/custom_plugins
Copy your data from Cloud Exchange 2 to Cloud Exchange 3.
sudo cp -R ta_cloud_exchange_2_backup/data/mongo-data/* data/mongo-data/data/db/
Launch Cloud Exchange 3.
> docker-compose up -d