About this task

The BVQ Server "and" the database should be moved,
wether or not it is because of a new Windows VM.



Applies to

All Versions and Systems, further info



Procedure

Connect to the old Mongo shell

C:\Users\dkarch.SVA>mongo --host bvqsrv1.labwi.sva.de -u bvq -p P@ssw0rd




show DB´s


> show dbs





start the backup, the time to complete this task is depending on the DB size

C:\Users\dkarch.SVA>mongodump --host bvqsrv1.labwi.sva.de:27017 --db bvq --authenticationDatabase admin -u bvq -p P@ssw0rd --gzip -j 8 --out C:\Temp\test-backup



start the installation of the same Version of BVQ on the new VM

and stop right after the MongoDB has installed





make sure that the Mongo Service is running





restore the DB

C:\Users\dkarch.SVA>mongorestore --host bvqsrv1.labwi.sva.de:27017 --db bvq --authenticationDatabase admin -u bvq -p P@ssw0rd --gzip -j 8 C:\Temp\test-backup\bvq



complete the installation wizard and connect to your BVQ