Unicon - ELIAS 18 - Export Mongo DB for ELIAS 18

book

Article ID: CTX695753

calendar_today

Updated On:

Description

  • Install ELIAS 18 version 2304.

  • During installation, select “Install MongoDB locally”.

  • Leave other settings as default.

  • Start ELIAS 18 and log in.

  • Create a container:
    image.png

    • Import packages into the container.

    • Import IDFs.

    • Create image template:
      image.png

  • Open Command Prompt.

  • Navigate to:

    C:\Program Files\MongoDB\Server\4.0\bin
  • Run the mongodump command to backup the Mongo database to:
    C:\Temp\mongodump

     

    • mongodump -d=ELIAS-Database --out=C:\Temp\mongodb
    • Wait until the backup process completes

 

  • On the server "B"
  • Download and install MongoDB server version 6.0.6 from: MongoDB Community Download

    • https://www.mongodb.com/try/download/community
  • Download and install MongoDB Command Line Database Tools (MSI package) from: MongoDB Database Tools

    • https://www.mongodb.com/try/download/database-tools
  • Copy backup files from: C:\Temp\mongodump on Server A → to C:\Temp\mongodump on Server B

 

  • Open the command prompt:
    • Change directory to C:\Program Files\MongoDB\Tools\100\bin
    • Run the mongorestore command to restore the Mongo database from C:\Temp\mongodump:
      mongorestore C:\Temp\mongodump
    • Wait for the process to finish

 

  • Install ELIAS 18 version 2304 on server "B"
    • During installation select "Use an existing MongoDB"
    • Leave other settings as default

 

  • After the installation finishes, start ELIAS 18
    • Log in
    • Check containers restored from the backup

 

  • Check packages restored from the backup

 

  • Check IDFs and image templates restored from the backup

 

Issue/Introduction

This article shows how to set up ELIAS 18 on one server, back up its MongoDB, move the backup to another server and restore it.