Kendis enterprise self-hosted version (Docker, Openshift) comes with an internal MongoDB database. However, in case you need to use an External Database then follow these steps
Kendis supports MongoDB v 3.6 and v4.0.
1. Connect kendis with new MongoDB installed
Go to the System admin area by typing <yourKendisURL>/system
The default username password is sysadmin. In case you don't have those default credentials ask them from firstname.lastname@example.org
Now click on the Database Settings tab on the left navigation
Fill up the form with all required details.
- You must use the Host/URL for MongoDB in this format
e.g., if your host IP is an example 188.8.131.52 then the value would be
In case your MongoDB server has hostname, just replace IP with hostname
Once the connection is successful to the MongoDB connection, you can proceed to restore your backup to the externally hosted MongoDB.
2. How to Restore Data from your backup into MongoDB
Get the latest backup file from the host machine where you have Docker running and have mounted the backup volume, the default Kendis backup folder name is "kendis-backup"
Use the following command to restore the latest backup
> mongorestore --drop --gzip --archive=<backup-file-name>.tar.gz
Once the restoration is done, just refresh the browser and you should see the login page. You can log in with your username and password that you have for your current setup, it should work without any issues.
In case you are running Openshift with multiple Pods, then you must select the external database option explained above, in order to make sure the Pods are sharing the same database.