The Backup tool is similar to the Archive Tool, enabling you to backup your data, though with the difference that it doesn't mark the calls as backed up. A typical use case of the tool is the manual backup of data.

Icon

Do not use the Backup tool for planned archive process. Use the Archive Tool for that purposes

Configuring Backup

With the Backup tool, all files are backed up whether they are archived or not. A delete tool must be configured to delete any files that are no longer needed on the recording server.

Navigate to Settings > Configuration > Maintenance > Backup.

  1. Select the Enabled checkbox to enable Backup.
  2. Backup cannot run as daemon.
  3. The Database pool should be set to callrec, as this is the default. Note that before version 8.1.520. maintenance had its own pool.
  4. Ensure that there is a valid email address and set a subject for the email. If these fields are empty when Save configuration is selected, then the validation fails.
  5. Check Send success emails to be informed by email of successful archiving.
    Check Send failure emails to be informed by email of any failures.
  6. Use the default /tmp Temporary directory. If the directory is changed then ensure that the callrec user has read and write permissions in the new directory.
  7. Click Save configuration.

Creating a Backup Task

Navigate to Settings > Configuration > Maintenance > Backup
 

  1. Enter a unique task name for the new task. It is not possible to change a task name once it has been created.
  2. Click New. The form below appears:

  1. Select the Enable this task checkbox to enable the task.
  2. Select an Interval period or enter a custom interval period.
  3. Only the first 6 characters of the prefix form the file name.
  4. Set the Archive max size (MB). Default value 650 MB.
  5. To archive .pcap files, select this box, the default is to archive MP3 files.
  6. Select the media type to exclude.
  7. Exclude RECD excludes raw image files.
  8. To delete files as they are archived select Delete archived files.

Test selection validity, click Save configuration.

Ensure tools are active in /etc/callrec/callrec.conf.

Starting the Backup Tool Manually One-shot

One shot run:

Use an SSH client. Log in as admin. Enter su - to log in as the root user. Enter the password, the default is .

Enter the following command:

/opt/callrec/bin/backup

Starting the Backup Tool Manually Continually Using Cron

In the Linux console, enter the command:

/opt/callrec/bin/backup start

Note that the Archive tool running in Cron (non-daemon mode) is most commonly used as backup and does not mark archived files in db.

Viewing Results

Note that /home/admin is default path but can be changed.

Linux

In /home/admin there is a file called backup* with a .zip extension, an associated file size, and date containing the html, xml, and media files.

GUI

There is nothing reflected in GUI: backing up files does not affect the database. When a call is archived (and/or backed up) and deleted from the main database, the call must be restored in order to be able to listen to it again.