Database
DV2000 8.1 does not upgrade the existing database when upgrading from version 8.0 and 7.x because 3.6 is compatible. This was done because the database upgrade process must be performed manually and downtime for some sites is critical.
DV2000 8.1 will always install the latest compatible database version which does not require user intervention.
Compatibility
Each DV2000 supports a specific version of the database. The MongoDB version may be found in Settings | Apps | Installed apps or the Control Panel | Programs a features.
| DV2000 Version | MongoDB 8.x | MongoDB 3.6 | MongoDB 2.6 |
|---|---|---|---|
| 8.1 | |||
| 8.0 | |||
| 7.x | |||
| 6.3 | |||
| 6.2 |
Only databases provided here are supported by the DV2000.
Installing the wrong version will result in data loss.
MongoDB 8.0 To 8.2
These versions are compatible and therefor can be upgraded by simply installing the latest version MongoDB 8.2.3. The install will perform a full backup prior to installing the new database and will be saved as c:\vmbackup\dbupgrade-8-2-3.vmb.
MongoDB 3.6 to 8.x
Upgrading from 3.6 cannot be performed directly, it must be performed manually as described below.
Upgrade MongoDB
For this entire process the DV2000 VMS cannot be running and must be shutdown. This process can be used to upgrade any version of MongoDB.
Backup
You MUST perform a backup. This will provide a full backup in case of failure and export the database we will restore later.
Using Manager select File | Export | Database.
- Don't include voice messages.
- Choose Automatic.
- Close all DV2000 applications.
Uninstall Database
Uninstall the older version of the database using Windows. DO NOT UNINSTALL DV2000.
- Choose to delete the database. Failure to do this will result in the system not functioning.
Install Database
Install the latest version released for the DV2000.
Installing the wrong version will result in data loss.
Restore
This process will restore the database you backed up previously. There will be no need to perform a full restore as only the database is being modified.
- Open a new cmd shell as administrator. It must be a new shell otherwise the new path settings will not have been set.
- Enter the following command and press enter. If you have chosen to install user data in another directory you must change the path.
mongorestore -h 127.0.0.1 -d bandon --drop c:\vs\database\bandon
Verify
- Start DV2000.
- Verify the system still works properly and no data was lost.
Older versions