Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:faq:how_to_restore_system_from_a_backup_file [2015/05/15 07:30] liuxlen:faq:how_to_restore_system_from_a_backup_file [2015/05/28 09:39] (current) liuxl
Line 1: Line 1:
-======How to Restore System from a Backup File======+====== How to Restore System from a Backup File ======
  
-=====Install a Same Version Astercc=====+===== Install a Same Version Astercc =====
  
 For details:[[en:download_and_install:installation|asterCC Installation]] For details:[[en:download_and_install:installation|asterCC Installation]]
  
-=====Upload the Backup File to the New Server=====+===== Upload the Backup File to the New Server =====
  
 For details:[[en:use_case:how_to_perform_system_backup|How to perform asterCC system backup]] For details:[[en:use_case:how_to_perform_system_backup|How to perform asterCC system backup]]
  
  
-=====Untar the Backup File=====+===== Untar the Backup File =====
  
 First,you should enter the directory of the backup files that download via "wget" command,then execute commands following: First,you should enter the directory of the backup files that download via "wget" command,then execute commands following:
Line 18: Line 18:
  
  
-=====Restore Database=====+===== Restore Database =====
  
-====Untar the Backup File of Database====+==== Untar the Backup File of Database ====
  
 After untar the backup file,we will untar the archive of database,we just need to execute commands following: After untar the backup file,we will untar the archive of database,we just need to execute commands following:
Line 27: Line 27:
  
  
-====Import the Backup File of Database====+==== Import the Backup File of Database ====
  
 Import backup files into the database through commands following: Import backup files into the database through commands following:
Line 47: Line 47:
  
  
-=====Restore Folder=====+===== Restore Folder =====
  
 Execute the following command one by one: Execute the following command one by one:
Line 55: Line 55:
  
  
-=====Reload the Configure Files of System=====+===== Reload the Configure Files of System =====
  
 After finished operations above,we should reloading the configure of system next. We just find "reloadconf.sh" in /opt/asterisk/scripts/astercc/ ,and execute it by "./" After finished operations above,we should reloading the configure of system next. We just find "reloadconf.sh" in /opt/asterisk/scripts/astercc/ ,and execute it by "./"
 <code> ./reloadconf.sh </code> <code> ./reloadconf.sh </code>
 +
 +
 +===== Solutions for Problems =====
 +After restoring astercc system,if you get "Permission denied!" after click the reload tip。You should execute command following:
 +
 +<code> chmod 777 /var/www/html/asterCC/cake/console/cake </code>
 +
 +After executing command,please restart asterccd,if it not worked,you can continue to execute commands following:
 +<code> chown -R asterisk.asterisk  /var/www/html/asterCC/
 +chown -R asterisk.asterisk /etc/asterisk 
 +</code>
 +
 +
 +
 +
 +
 +
 +
 +
  
  
  
  
en/faq/how_to_restore_system_from_a_backup_file.1431675059.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki