DBMAINT.EXE

Make sure you launch command prompt with administrative privileges.

This is a command line utility used for custodial DuVoice database actions. This utility will let you perform a number of database activities such as backup, restore, insert, delete, and more.

Argument Description
-?, -h, or -helpDisplay options and program information.
-cSpecify or request an action on a collection.
-countReport the number of documents in a collection.
-defaultDefault the specified collection.
-dropDrop/remove a database or collection
-exportExport the specified collection as a JSON file.
-fSpecify different filename other than the default.
-importImport a JSON file into a specified collection.
-listList databases or collections.
-oOutput filename or folder.
-repairRepair the database.
-restoreRestore a database or collection.
-idID of record to default.
-yAutomatically answers yes to prompted questions like “are you sure you want to drop this database?” Should only be used without a user present.

Default Services

This will not reset existing services but will add those not added automatically during upgrades. It will restore any default servers which have also been deleted.

dbmaint -default -c service

Repair the database

This will perform a database repair. Not typically needed since version 8.0 and above.

dbmaint -repair
  • Last modified: 2024/10/11 10:16
  • by admin