Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2024.1

...

Refer to Configuring Environment Variables#Environment Variables for details about configuring MongoDB variables in your operating system.

...

If the MongoDB database is configured with authentication enabled, then the user configured in Enterprise Pack should at least have the readWrite role in the following databases:

...

  1. Start Enterprise Pack and run the following command to migrate data from the embedded database to the remote instance:

    Code Block
    <DTP_INSTALL>/dtpservices/mongodb/bin/mongodump --port=8316 --gzip --archive=dump.tar.gz

    The <DTP_INSTALL> directory should match the value of the -i parameter when running the DTP.sh installation script.

  2. Copy the dump.tar.gz file created by the command to the server hosting the remote MongoDB database.
  3. Ensure that the remote server is running and restore the data dumped from the embedded database. The following example command assumes that the mongorestore executable is on the system path. Additional options, such as --username and --password may be necessary based on the database configuration. 

    Code Block
    mongorestore --gzip --archive=dump.tar.gz

Your infrastructure may not be fully consistent with the instructions described in this documentation.  For For example, you may first need to migrate the data into an older version of MongoDB on the remote system, then incrementally upgrade MongoDB until they are on the desired version of MongoDB. Refer to the MongoDB documentation for details about data migration: https://docs.mongodb.com/manual/tutorial/upgrade-revision/

...