Dma radius manager

broken image
broken image
broken image

all backups will be saved in /backup & /root/Dropbox folder.It will check File size, if Less than 1 byte it will alert, modify it as required.It will also delete files older than 20 days from /backup & root/Dropbox folder.It will also check mysql Service & DB status, if it found inaccessible, it will send email.It will take backup of RADIUS Database excluding radacct, only radacct structure will be exported (to save disk space by lower size of backup).It will make a copy of files in /root/Dropbox folder.It will add some logs in /var/log/syslog.I am using KANNEL as sms gateway & sendEmail app to send email via GMAIL.Modify the script as per your requirements … Plus If you have configured RAID, then it will provide redundancy as well. NOTE: Using S.S.D disk (or raid) are highly recommended as there are less chances of media failure, and above all read/write rates is incredibly fast. to reduce database size, you can modify this function. It will only export table structure without data. This script will EXCLUDE data in radacct and radacct_archive tables. Following is a customized backup script to create backup of your mysql DB and HTML files in local storage & on cloud using DROPBOX (make sure you have dropbox running),

broken image