1) Copy all recordings from one server to another (requires root password to be entered immediately after you hit enter, obviously replace xx.xx.xx.xx with the receiving server's IP address):
- Code: Select all
rsync -AEavzte ssh /var/spool/asterisk/monitorDONE/ xx.xx.xx.xx:/var/spool/asterisk/monitorDONE/
2) Consider that if the HD dies on any of these dialers, those recordings are GONE forever. Consider also that continuing to record on these servers will eventually Fill the HD. Instead, push all the recordings to an FTP/Web server and use that server for storage, and if that server is slow but has huge HDs with a Mirror, your recordings are secure and your Vicidial server's HD is not filling up any more. Plus, if your Vicidial server Dies one day, you have NO need to restore the audio recordings from your backup set (which is good because most backup sets don't include the audio recordings anyway! lol).
Look at your crontab -e:
- Code: Select all
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --run-check
That command is commented out until you activate it. Before activating it, have a look at the Manager's Manual so you know what to put in the /etc/astguiclient.conf file for credentials ... and TEST it with a
single recording before firing it up fully. After that command is active, it'll take a while to copy all the recordings. When it completes: At the end of every work shift that server will have NO recordings on it.
Note that I added --run-check as it's a very good option to use. It will only run ONE copy of this file at a time. If they overlap, the new one will detect the already running one and "bow out".