What to backup before upgrading?

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

What to backup before upgrading?

Postby DarknessBBB » 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:
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!
DarknessBBB
 
Posts: 328
Joined: Mon Jul 16, 2007 10:14 am

Postby mflorell » Thu Sep 09, 2010 5:29 pm

That is less than 6 months old, I would not consider that very old. Why not just upgrade the ViciDial code itself?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Thu Sep 09, 2010 8:45 pm

There is a backup script in the /usr/share/astguiclient folder.

You'll also need your recordings (wherever you are storing them), asterisk sounds, Audio Store, and of course any CLIENT recordings you have made.

But I agree wholeheartedly with mflorell, you are MUCH better off learning how to "SVN" it up to the latest code (in place update) rather than wiping it clean.

That does NOT mean you shouldn't do a backup FIRST, in either case, of course! LOL
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby DarknessBBB » Fri Sep 10, 2010 12:21 am

Hi, thank you for answering! I want to rip it off just because I'm using brand new LSI SAS 9750 raid controllers on servers. They're natively supported only from kernel 2.6.33.
So I had to recompile the driver, but I cannot upgrade anything, nor the kernel or a lot of software, and I'm always with the fear of losing anything :(
So, why not test the brand new 3.0.X Vicidia Redux? :)
DarknessBBB
 
Posts: 328
Joined: Mon Jul 16, 2007 10:14 am

Postby mflorell » Fri Sep 10, 2010 5:08 am

OK, that makes sense, just use the ADMIN_backup.pl script to backup your system, then you should be able to decompress that backup from the / directory and everything should be in place afterword
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 51 guests