Project

General

Profile

Backup and or erase recordings

Added by Jack Hinson over 12 years ago

Do I need to install and try to understand Putty? My hard drive will fill up in a couple of months at the call rate we are at and I have no idea how to backup and erase the recordings on the hard drive. I can access and listen to them and even email the link for review but this is as far as I get.

Thank you.


Replies (1)

RE: Backup and or erase recordings - Added by Wilper Necesario over 12 years ago

Hi,

No putty is an application use to remotely connecting to ssh in your server, you have to understand some basic linux command. e.g. cp, scp, find, mount,crontab etc.
You can use FTP transfer , Backup it into external hardrive, secure copy it to a remote storage server and or use the script in
/usr/share/astguiclient/ADMIN_backup.pl.

By default all of your recordings is in /var/spool/asterisk/monitorDONE/

Backup all your recording first via each method above. and look for this in your crontab its a script automatically erase your recordings.

adjust whats fits your need. (-mtime +14 = 14 days old)

  1. remove old recordings more than 14 days old
    24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG/ -maxdepth 2 -type f -mtime +14 -print | xargs rm -f
    (1-1/1)
    Go to top