Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:use_case:how_to_perform_system_backup [2015/05/14 07:38]
liuxl [Database Backup]
en:use_case:how_to_perform_system_backup [2017/12/12 03:05] (current)
Line 9: Line 9:
 ===== File Backup ===== ===== File Backup =====
 <​code>​ <​code>​
-tar czf astercc_files.tar.gz /​etc/​asterisk /var/lib/​asterisk /​var/​www/​html ​/​opt/​asterisk/​scripts/​astercc /​var/​spool/​asterisk /etc/astercc.conf+sudo tar czfP astercc_files.tar.gz /​etc/​asterisk /etc/astercc.conf ​/​opt/​asterisk/​scripts/​astercc ​/​var/​lib/​asterisk ​/​var/​spool/​asterisk /var/www/​html  ​
 </​code>​ </​code>​
 ===== Download Backup files===== ===== 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 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>​ <​code>​
-mv astercc_files.tar.gz astercc_db.sql.gzip /​var/​www/​html/​asterCC/​app/​webroot/ ​+sudo mv astercc_files.tar.gz astercc_db.sql.gzip /​var/​www/​html/​asterCC/​app/​webroot/ ​
 </​code>​ </​code>​
 Then you can download by visiting Then you can download by visiting
  
-http://your ip/​astercc_files.tar.gz+ http://your ip/​astercc_files.tar.gz
  
 and and
  
-http://your ip/​astercc_db.sql.gzip+ 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>​
en/use_case/how_to_perform_system_backup.1431589105.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki