This is an old revision of the document!
====== How to perform asterCC system backup ====== <note tip>You need to ssh to your server for the following operation</note> ===== Database Backup ===== <code> mysqldump -uroot -p astercc10 | gzip > astercc_db.sql.gz </code> System will prompt for database root password, you can find it in /etc/astercc.conf if you don't know ===== File Backup ===== <code> tar czf astercc_files.tar.gz /etc/asterisk /var/lib/asterisk /var/www/html /opt/asterisk/scripts/astercc /var/spool/asterisk </code> ===== Download Backup files===== Now you have two files astercc_db.sql.gzip and astercc_files.tar.gz, you can download via ftp/sftp tools, or move the file to http folder so you can download from browser <code> mv astercc_files.tar.gz astercc_db.sql.gzip /var/www/html/asterCC/app/webroot/ </code> Then you can download by visiting http://your ip/astercc_files.tar.gz and http://your ip/astercc_db.sql.gzip