What to backup before upgrading?
Posted: Thu Sep 09, 2010 1:53 pm
Hi there!
I would like to upgrade from a very old version of Vicibox Redux, and now is time to backup data and configuration!
I made this script in Bash:
What else have I to backup before completely erasing a "on production" multi server vicibox?
ViciBox_Redux.i686-0.1.2.iso | Vicidial 2.4-247 Build 100401-0014 | Asterisk 1.4.27 | DB/WEB + Dialer Servers | Digium TE120P | Webmin installed
Thank you!
I would like to upgrade from a very old version of Vicibox Redux, and now is time to backup data and configuration!
I made this script in Bash:
- Code: Select all
#!/bin/bash
tar cfPpz /backup/`date -I`_www.tar.gz /srv/www/htdocs
mysqldump --opt -uROOT -pPASSWORD asterisk | \
gzip -9 > /backup/`date -I`_db.sql.gz
tar cfPpz /backup/`date -I`_viciast.tar.gz /etc/asterisk
tar cfPpz /backup/`date -I`_astsound.tar.gz /var/lib/asterisk
What else have I to backup before completely erasing a "on production" multi server vicibox?
ViciBox_Redux.i686-0.1.2.iso | Vicidial 2.4-247 Build 100401-0014 | Asterisk 1.4.27 | DB/WEB + Dialer Servers | Digium TE120P | Webmin installed
Thank you!