DVBACKREST.EXE
DVBACKREST is a console application used to perform a full backup and full restores of the DuVoice system. This application during installation is configured to automatically run every day and by the application DVRestore which takes input from the user and then calls this application with the -restore option.
Features
Backup
- All backup files are placed into C:\VMBACKUP.
- All files use a unique format of <SERIALNUMBER>-YYYYMMDDHHMM.vmb.
- The backup is performed automatically every day at 11:30 pm by default. This schedule can be changed via the Windows Task Scheduler.
- By default the backup will retain the last 10 backup files. Any other files will automatically be deleted in order to save drive space. This number can be modified via the Windows Task Scheduler by modifying the command line of the action. The number of backup files is specified by the number following -maxfiles.
- By default it is not possible to have less than 2 backup files.
What gets backed up
- By default the back saves all configuration settings, databases and report information.
- All mailbox records.
- All scheduled events.
- All messages.
- All active templates including Notifications, Message Delivery and active line templates.
- Wakeup call database.
- Distribution list database.
- Inventory and Room status database.
- All location settings.
- All IVR files.
- All custom language files. These must be located in the CUSTOM folder for the language as documented in the manual.
- InnDesk user database.
- InnDesk configuration database.
- Line configuration.
- Entire DATABASE folder.
Restore
- All existing configuration will be deleted prior to restore.
- If the backup file is corrupt a restore will not be performed and no configuration items will be modified.
- It is not possible to perform a selective restore.
- All DuVoice applications and the VMS must be shutdown to perform a restore.
- A restore is not possible without having first installed the same version or a compatible version before performing a restore.
- If user elects to perform a restore and chooses to restore the telephony settings we automatically set the NewInstall flag in the registry to false. This allows a site to perform a restore without going through the unnecessary steps of running the setup wizard and running configuration.
- Existing license.lic file is never overwritten on restore.
Arguments
Argument | Description |
---|---|
-backup | Perform a backup. |
-f | File to backup. By default backup creates it's own unique filename. |
-nomsg | Don't include messages. Default is to include all messages. |
-nopurge | Don't delete any files over the maximum allowed backup files. |
-noreg | Don't backup or restore the registry entries. |
-maxfiles | maximum number of backup files. Default is 10 and no less than 2. |
-restore <file> | Perform a restore operation. |
-restcopy | Copy existing files to C:\VMBACKUP\PRERESTORE prior to performing restore. Note: It is possible to perform a backup prior to restore. |
-stopstart | Automatically stop the DuVoice service, perform the backup and then restart it. |
-y | Answer yes to any questions like Are you sure you want to stop the voicemail? |
-ftp | FTP server IP or DNS name to send backup file to. File is also stored locally for redundancy so use of maxfiles should still be used. |
-ftpuser | Username for sending backup via FTP. An FTP server option cannot be used to restore the system, the file must located on the system. |
-ftppassword | Password for sending backup via FTP. |
-ftppath | Place backup file into the specified sub-folder on the FTP server. You must use \ for the path. |
-addsched | Add a backup process to the Windows scheduled events. |
-removesched | Remove the backup process from Windows scheduled events. |
Examples
Create a file in the folder C:\VMBACKUP
dvbackrest -backup
Restore from the file 10001-201401141605.vmb
dvbackrest -restore -f c:\vmbackup\10001-201401141605.vmb
Backup of existing data before performing a restore.
dvbackrest -backup -restore -f c:\vmbackup\10001-201401141605.vmb
Backup to FTP server.
dvbackrest -backup -ftp 192.168.100.8 -ftpuser vmftpuser -ftppassword mypassword -ftppath \sysbackups\inhousevm
utility