/
V3 Keep your data safe

V3 Keep your data safe

What’s about

In this article you can find our best practice to keep a backup of your Motion server configuration and logs (report tables)

Please note the followng steps are related to a standard installation, if you use custom script or application and/or custom DB on the XCALLY Motion server, you need to backup them according with your needs.

Basically you need to backup the Motion DB

XCALLY Tables

Some tables could have a big size, specially the log and the report tables so you can decide if move the entire DB or exclude those tables.

Log and report tables are:

cdr

voice_queues_log

report_* (all the tables with prefix report_)

Further information about the Motion DB tables here: Motion DB Tables

 

Folder copy

Keep a copy of the entire folder /var/opt/motion2

You may need some files save into that folder, specially:

  • the entire folder /var/opt/motion2/server/files (it contains audio files, mail attachments, etc)

  • The configuration file .env under /var/opt/motion2/

The file contains the main XCALLY Motion configuration parameters and the key to decrypt the recordings files (if you use the encryption)  so it's very important you keep a copy of that file.

Asterisk configuration

  • copy the entire folder /etc/asterisk

  • specially keep a copy of all the files named _xcally_ in the /etc/asterisk folder (trunk configuration, custom extensions, etc..)

Voice Files

 

Voice Recordings

  • the recording files are saved under /var/spool/asterisk/monitor

Voicemail

  • the voicemail messages and configuration are saved under /var/spool/asterisk/monitor/voicemail

Asterisk Audio Files

  • the Asterisk audio files are saved under /var/lib/asterisk/sounds

You can save a copy of the entire directory /var/lib/asterisk in case you are using custom moh, etc

Related content

Reverse Proxy for Channels reaching out external sources
Reverse Proxy for Channels reaching out external sources
Read with this
Keep safe your data
Keep safe your data
More like this
Server Installation & ADVANCED WIKI
Server Installation & ADVANCED WIKI
Read with this
Custom recordings path
Custom recordings path
More like this
XCALLY V3 Overview
XCALLY V3 Overview
Read with this
Change encryption algorithm for Voice Recording files
Change encryption algorithm for Voice Recording files
More like this