How to migrate a BVQ server

About this task

The BVQ Server "and" the database should be moved, whether or not because of a new Windows VM.
These are very profound changes which need to be made by the SVA/BVQ SEs.
A working VM backup is necessary.

Applies to

All Versions and Systems, further info

Procedure

  1. Connect to the Mongo shell
    in order to connect, mongosh has to be installed as well, please see Install mongosh — MongoDB Shell

    >mongosh -u bvq -p P@ssw0rd

     

  2. Show DB´s

> show dbs

3.   Exit the shell

> exit

 

4.   Stop all the BVQ Services but "bvq-mongodb" and start the backup, the time to complete this task is depending on the DB size

5.   Start & finish the installation of the same Version of BVQ on the new VM

6.   Stop all BVQ services but "bvq-mongodb" on the new VM

 

8.   During the BVQ-Installation, using default values, a "db" named "bvq" is created.

A restore of a mongodb has to be made, using a not existing db.
If you would like to use the db "bvq" again (code: mongorestore  --authenticationDatabase admin -u bvq -p P@ssw0rd --db bvq --gzip -j 8 C:\bvq),
you have to drop the existing(just installed) bvq db.

 

9.   Restore the DB