Backing Up the EVS Server

Follow these steps to perform a full backup of the EVS server and to optionally enable incremental logging.

Note: To back up the EVS server, you will need the following files: evs-backup.bat, evs-restore-incremental.bat, and my-backup.ini. Contact Vocera technical support to obtain these files.
  1. Locate the drive on which you have installed EVS. In the vocera\evs\tools subfolder, copy the following files:
    • evs-backup.bat: A batch file script that executes the MySQL dump command (mysqldump) on the EVS database. If the total number of backup files is greater than 10, old backup files are removed.
    • evs-restore-incremental.bat: A batch file script that joins MySQL binary logs together and loads them into MySQL.
  2. Copy the my-backup.ini file to the %APPDATA%\MySQL folder. Create this folder if it does not exist. Access to this file should be restricted to the owner and possibly to the system administrators.

    Make sure you select a user account that is local to the server and has a password which does not expire.

  3. On the drive on which you have installed EVS, in the vocera\evs folder, create a new subfolder named backup.
  4. Use the Windows Task Scheduler to create a backup task. The account that runs this backup task must be a local account with administrator privileges and a non-expiring password. See Creating the Backup Task for more information on creating this backup task.
  5. Optionally enable incremental logging:
    1. Stop the EVS and MySQL services.
    2. Using Notepad or your favorite text editor, open the file %MYSQL_HOME%\my.ini, where %MYSQL_HOME% is the value of the MYSQL_HOME environment variable.
    3. At the bottom of this file, paste the following text (replace C: with the location of your hard drive):
      #Enable binary logs
      log-bin = "C:/vocera/evs/backup/evs-bin"
      #Set the number of days to preserve binary logs
      expire_logs_days = 1
    4. Save and close the my.ini file.
    5. Restart the MySQL and EVS services.