Backup MongoDB Data

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

Keep the file somewhere safe. To use this backup, you need to unzip the folder and follow the upgrade procedure.

To unzip the file:

$ unzip
Share this Doc

Backup MongoDB Data

Or copy link

In this topic ...