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.

Backup the database

dbmaint -backup

Restore the database

dbmaint -restore

Repair the database

dbmaint -repair

  • Last modified: 2023/01/07 11:45
  • by 127.0.0.1