Backup MongoDB Data
This section explains how to backup the data of MongoDB. In order to make a backup, you must have the zip and unzip packages installed on your VMs.
Go to your Cloud Exchange directory.
cd netskope/ta_cloud_exchange
Go to the data directory of MongoDB.
cd data/mongo-data
Zip the
mongo-data
folder.zip -r mongo-data.zip mongo-data
Keep the mongo-data.zip
file somewhere safe. To use this backup, you need to unzip the mongo-data.zip
folder and follow the upgrade procedure.
To unzip the mongo-data.zip
file:
unzip mongo-data.zip