asterCC, hosted call center solution based asterisk
»
zh
»
实际案例指导
»
如何实现astercc系统的备份
您的足迹:
显示页面
修订记录
最近更改
网站地图
登录
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== 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. <note warning>Note:If you see "mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect",you should use <code> mysqldump -h127.0.0.1 -uroot -p astercc10 | gzip > astercc_db.sql.gz </code> </note> ===== File Backup ===== <code> sudo tar czfP astercc_files.tar.gz /etc/asterisk /var/lib/asterisk /var/www/html /opt/asterisk/scripts/astercc /var/spool/asterisk /etc/astercc.conf </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> sudo 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 <note tip>If you use CentOS,you can download by "wget http://your ip/astercc_files.tar.gz" and "wget http://your ip/astercc_db.sql.gzip" </note>
zh/实际案例指导/如何实现astercc系统的备份.1431598123.txt.gz
· 最后更改: 2017/12/12 03:11 (外部编辑)
显示页面
修订记录
反向链接
回到顶部