Backup

Script to backup Asterisk folders

The key folders to backup for asterisk are /etc/asterisk /var/log/asterisk /var/lib/asterisk /var/spool/asterisk /usr/lib/asterisk /var/lib/mysql /usr/local/tomcat/webapps You can use this script to back them up into one gz file. ora=`date ‘+%Y.%m.%d-%H.%M.%S’` tar zcf etc-asterisk-$ora.tar.gz /etc/asterisk tar zcf var-log-asterisk-$ora.tar.gz /var/log/asterisk tar zcf var-lib-asterisk-$ora.tar.gz /var/lib/asterisk tar zcf var-spool-asterisk-$ora.tar.gz /var/spool/asterisk tar zcf usr-lib-asterisk-$ora.tar.gz /usr/lib/asterisk tar zcf var-lib-mysql-$ora.tar.gz /var/lib/mysql tar.

How to Backup and restore Elastix Asterisk configuration on Cent OS to another server

I recently found this method of doing the backup/restore http://www2.elastix.org/en/component/kunena/116-security/47135-how-to-backup-elastix-for-migration.html?Itemid=58 A few things to be aware of Make sure the Elastix version is the same or higher than the version that you are transferring the backup .tar file from. Otherwise if you try to transfer to an earlier version the extensions will not transfer across.