Backup the Evoko Home database
This document contains instructions on how to perform a complete backup of all databases currently in MongoDB. It is strongly recommended to create a backup copy of the database before manually editing the database contents.
- Start an elevated Command Prompt, for example by searching for cmd on the start menu, then right clicking and selecting Run as administrator.
- Change into the MongoDB bin folder. The location of this folder might vary, but the default location is
C:\Program Files\MongoDB\Server\3.4\bin\if you are running MongoDB 3.4.x and
C:\Program Files\MongoDB\Server\3.2\bin\if you are running MongoDB 3.2.x.
We will use MongoDB 3.4 installed in the default folder throughout this guide, so please adjust the paths accordingly if you are using MongoDB 3.2 or have MongoDB installed in a non-default location.
cd "C:\Program Files\MongoDB\Server\3.4\bin"
- Start another elevated Command Prompt window and change into the same directory as before. To do this, repeat step 1 and 2.
- Go to Services and stop the ERM Service.
Stopping the ERM Service make all Lisos fail to connect to the booking system, which means
- No booked meetings will be synced to the Liso devices
- No meetings can be booked on screen
- Switch to one of the Command Prompt windows you previously opened and start MongoDB by typing or pasting the following command:
mongod --dbpath ..\data
Troubleshooting If you are presented with a prompt after the step above, something went wrong and MongoDB could not be started. Please see the error messages in the command prompt window and either try to correct the issues yourself or copy them and contact us for assistance.Leave this Command Prompt window open. You can minimize it if you want to.
- Switch to the other Command Prompt window and type or paste the following to perform a dump (backup) of the database:
The output should be similar to this screenshot:
If you still have the other Command Prompt window visible, you will see information scrolling by there as well.
Note: Your database backup is now stored in the dump subfolder. If you repeat the process, the dump files are overwritten so make sure to save them securely until you are certain they are no longer needed.
- Close the Command Prompt window where you ran the mongodump command, then switch to the first Command Prompt window and exit mongod cleanly by pressing
ctrl-con the keyboard. You can then close that Command Prompt window too. After this you can start the ERM Service if you wish to minimize downtime for the Liso system.
Success! You now have a backup copy of your database.