How to restore system from Backup which are made from GUI

From Kolmisoft Wiki
Revision as of 13:29, 4 January 2012 by Admin (talk | contribs) (Created page with '<br><br> =About= The backup system backs up the MOR database and allows it to be restored at any time. More information about Backups from MOR GUI you can be found [http://wiki.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



About

The backup system backs up the MOR database and allows it to be restored at any time. More information about Backups from MOR GUI you can be found here

Workflow

1. Go to backup folder:

cd /usr/local/mor/backups
gunzip backupname.tar.gz (gunzip delete archived folder and left only unarchived folder).

2. Stop services:

/etc/init.d/httpd stop
killall -9 safe_asterisk 
killall -9 asterisk 

3.Data base import:

mysql mor < backupname.sql

4. Data base update:

Notice:

Your DB version must be the same as GUI.

How to check GUI version type this command:

svn info /home/mor | grep URL | awk -F"/" '{print $NF}'

Then upgrade from one version to another while you reach your version:

svn update /usr/src/mor
cd /usr/src/mor/db/[9,10,x] and run import_changes.sh script till you reach the needed version.

5. Restart mysql

/etc/init.d/mysqld restart 

6. Start stoped services:

/etc/init.d/httpd start
/etc/init.d/asterisk start