mattyou1985 wrote:mflorell wrote: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
i need to do this ^
so will this do a full backup and restore without-web ?
"Full" <-- > "without-web" ... this is contradictory.
This will back up and restore all the files listed. Full is subjective (note the "check for other tar files if you used other backup options), and of course the "without web" notation specifies "not full". It will also not back up client audio files. And probably not voicemail (check the options when running the backup file with --help for other missing items).
And remember, please, that this is not a portable backup/restore. It's designed for backup and restore onto the same machine only. A different version of OpenSuSE or a different IP address will need more work.
This method is useful if you think you may have altered something you shouldn't have (or someone stupid did so without your permission, LOL).
It's also useful for those who create a Drive Image and then push these backups off to an FTP server. If the HD dies, you re-create the drive from the Drive Image and then use this process to restore and you're back in business. Except for the missing web files.( And any other 'tar' files based on your options during the backup, and definitely not client audio files).