Skip to main content

Netskope Help

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.

  1. Go to your Cloud Exchange directory.

    cd netskope/ta_cloud_exchange
  2. Go to the data directory of MongoDB.

    cd data/mongo-data
  3. 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