Table of Contents

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

What gets backed up

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