Backup/restore calls

Backup calls

To start backup manually, you need to execute Backup.cmd (located in C:\Program Files\MiaRec Business\Bin\Scripts).

Backup calls

You will be asked 6 simple questions:

  1. Enter folder to backup. Leave empty to backup all folders

    Folders are the ones, which you see on the left side in web interface. If you need to backup all files, then press Enter without typing anything. Otherwise you can type a name of folder, which you want to backup.

  2. Enter Directory for storing backup files

    You will need to enter a destination, where backup of call recording files will be stored. For example, type F:\MyBackup if you want to store it on disk F.

  3. Enter lower date limit in format YYYY/MM/DD or leave empty to set no limit. Only calls occured after this date will be backed up

    You can limit a period for which backup is created (for example, backup of calls for last 30 days). If you need to backup all calls, then press Enter without typing anything.

  4. Enter upper date limit in format YYYY/MM/DD or leave empty to set no limit. Only calls occured before this date will be backed up

    See question 3.

  5. Create sub-directory with name YYYY-MM-DD-HHMMSS (y or n)?

    Optinally backup can be stored inside sub-folder, with name YYYY-MM-DD-HHMMSS, for example, F:\MyBackup\2009-01-05-134556.

    If you type "n", then backup will be stored directly inside directory, which you entered in quetion 2 (F:\MyBackup). If this directory contains already a previous backup, then new calls will be added to backup (the previous files will not be lost).

  6. Remove CDRs and MP3 files after successfull backup (y or n)?

    Type ā€˜nā€™ here to create a backup copy of calls.

    If you type ā€˜yā€™ then all backed up calls will be deleted from MiaRec after successful backup.

After you answer the 6th question, the backup process will begin. It may take some time depending on how many calls you have on the system.

Backup calls

Note: Backup includes only the recorded audio files with the corresponding call information (date of call, caller/called phone numbers etc). Backup does not include the following information:

  • User accounts created inside MiaRec web interface
  • Rules for automatic sorting of calls into folders

If you are moving MiaRec to other server, then you need to re-create user accounts and sorting rules manually on the new server.

Restore calls from backup

Restoring of calls is easy. Start Restore.cmd (located in C:\Program Files\MiaRec Business\Bin\Scripts).

You will be asked only two questions:

  1. Enter source directory, where backup files are located in

    Type here a directory, where backup was stored, for example, F:\MyBackup or F:\MyBackup\2009-01-05-134556 (depends on what you typed in the 5th question during backup process).

  2. Enter destination directory, where MP3 files should be restored to

    Type here a directory, where you want to save the restored audio files.

    Usually this is C:\Program Files\MiaRec Business\Data\Recordings

When restore process is completed, you will be able to see the restored calls inside MiaRec web-interface.

Restore calls