Backup


#1

What are the files and directories that need to be copied / backed up on a asterisk system. I will just be burning them to CDs. I know that I need /etc/asterisk/*, I am more concerned with binaries source and voicemail, CDR data. If it is a fully functional fully featured asterisk system what is the important items that are needed to bring the system back to life from say, a “root kit”, or theft. All replys are welcome.


#2

You will need the following for config files:
/etc/zaptel.conf
/etc/asterisk/*

Voicemail files:
/var/spool/asterisk/voicemail/*

CDR:
/var/log/asterisk/cdr-csv/Master.csv

Music On Hold files(only if you added your own):
/var/lib/asterisk/mohmp3/*

AGI files(only if you are using it):
/var/lib/asterisk/agi-bin/*

Backup the source and you can always just recompile without worrying about the binaries. Could also diff the code to see if anyone installed something like a back door into the asterisk code.