Scheduling Automatic Archiving and Purging of Report Data

By scheduling a task that both archives and purges old report data, you can dramatically improve the performance of your Vocera Report Server. The archive captures data up to and including a date you specify, and once the archive is created the data is purged from the database.

In addition to improving performance, purging old report data will also reduce the time needed to back up and restore Report Server data.

Archive files are saved to the \vocera\reports\backup folder on the Report Server computer. To free up disk space, you can move archive files from the Report Server computer to another disk for backup purposes.

Tip: How many months of Vocera data should you keep? That will depend on your company's reporting needs and the Report Server's hard disk capacity. You should decide how much Vocera data you need to maintain for reports. For example, if you never report on data older than six months, schedule a monthly task to archive data older than six months and purge that data from the database. Performing such regular maintenance will help keep your Report Server running smoothly.

To schedule the archiving and purging of report data:

  1. Click Task Scheduler in the navigation bar.

  2. Select the Archive and Purge task, and then click the Edit Task button.

    The Edit Task dialog box appears.

  3. On the Task Information tab, make sure the Enabled check box is checked.

    When this check box is checked, the task runs according to the specified schedule. Otherwise, the task is disabled.

  4. Click the Schedule tab.

  5. Select Schedule Frequency, Start Date, and End Date options. You can leave the End Date field blank if you don't want the backup schedule to expire.

    By default, the schedule frequency for Archive and Purge is every month.

  6. In the Time of day to run the task field, select the time to begin the backup task. The first list specifies an hour from 1 to 12, inclusive. The second list specifies minutes in 15 minute intervals (0, 15, 30, or 45). The third list specifies a.m. or p.m.

    The default time for the Archive and Purge task is 12 a.m.

  7. By default, the Archive and Purge task archives and purges all data except for the last day. If you want to change that setting, follow these steps:

    1. Click the Executables tab.

    2. Select the Archive Purge Task executable, and then click the Edit button.

      The Edit Executable dialog box appears.

    3. Click the Parameters tab.

    4. Click the ArchivePurgeDate parameter, and click the Edit button.

      The Edit Executable dialog box appears.

    5. In the Value field, specify the last number of days, weeks, or months that you do not want archived and purged.

    6. Click Save to save the new value and close the Edit Executable dialog box.

    7. Click Save to save settings and close the Edit Executable dialog box.

  8. Click Save to save settings and close the Edit Task dialog box.