Re: Restore database backup
by mflorell » Thu Dec 18, 2014 7:03 am
Here is how we recommend doing a restore onto a fresh vicibox install:
Backup Process:
- /usr/share/astguiclient/ADMIN_backup.pl --help (to see options)
- /usr/share/astguiclient/ADMIN_backup.pl --without-web –debugX
Restore Process:
- ls -lat /var/log/astguiclient/archive/
- cd /var/log/astguiclient/archive/
- tar xvfz 192.168.1.5_ALL_0.tar.gz
- cd var/log/astguiclient/archive/
- mv 192.168.1.5* /
- cd /
- ls -lat
- tar xvf 192.168.1.5_VOICEMAIL_0.tar
- tar xvf 192.168.1.5_CONF_0.tar
- tar xvf 192.168.1.5_BIN_0.tar
- tar xvf 192.168.1.5_LINUX_0.tar
- tar xvf 192.168.1.5_SOUNDS_0.tar
- (check for other tar files if you used other backup options)
- gunzip 192.168.1.5asterisk0.gz
- mysql asterisk
- \. 192.168.1.5asterisk0
- quit
Backup Process:
- /usr/share/astguiclient/ADMIN_backup.pl --help (to see options)
- /usr/share/astguiclient/ADMIN_backup.pl --without-web –debugX
Restore Process:
- ls -lat /var/log/astguiclient/archive/
- cd /var/log/astguiclient/archive/
- tar xvfz 192.168.1.5_ALL_0.tar.gz
- cd var/log/astguiclient/archive/
- mv 192.168.1.5* /
- cd /
- ls -lat
- tar xvf 192.168.1.5_VOICEMAIL_0.tar
- tar xvf 192.168.1.5_CONF_0.tar
- tar xvf 192.168.1.5_BIN_0.tar
- tar xvf 192.168.1.5_LINUX_0.tar
- tar xvf 192.168.1.5_SOUNDS_0.tar
- (check for other tar files if you used other backup options)
- gunzip 192.168.1.5asterisk0.gz
- mysql asterisk
- \. 192.168.1.5asterisk0
- quit
No hay comentarios:
Publicar un comentario