Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
williamconley wrote:first use mysqldump to capture your present db (just in case).If using a password, you'll need to add "-p" and enter the pass at the prompt.
- Code: Select all
mysqldump asterisk > 2012_08_06_XXXXXXXXXXX.sql
then drop the existing database and recreate it
- Code: Select all
mysql -e "drop database asterisk"
mysql -e "create database asterisk"
then apply the mysql backup to it.
- Code: Select all
mysql asterisk < Prior_backup_name.sql
It may be a good idea to reboot. It's definitely a good idea to tell the server to rebuild the conf files under Admin->Servers->(select your server)
vicidial:~ # /usr/share/astguiclient/ADMIN_backup.pl --help
allowed run time options:
[--db-only] = only backup the database
[--db-without-logs] = do not backup the log tables in the database
[--conf-only] = only backup the asterisk conf files
[--without-db] = do not backup the database
[--without-conf] = do not backup the conf files
[--without-web] = do not backup web files
[--without-sounds] = do not backup asterisk sounds
[--without-voicemail] = do not backup asterisk voicemail
[--without-crontab] = do not backup crontab
[--ftp-transfer] = Transfer backup to FTP server
[--debugX] = super debug
[--debug] = debug
[--test] = test
richardroi wrote:How do I upgrade SVN VERSION from 2016 to 2153 on running server?
UPGRADE wrote:NOTE: Upgrading from 2.7 to 2.9 is below the first section
NOTE: Upgrading from 2.4 to 2.7 is below the first section
NOTE: Upgrading from 2.2.1 to 2.4 is below the first section
NOTE: Upgrading from 2.0.5 to 2.2.0 is below the second section
NOTE: Upgrading from 2.0.4 to 2.0.5 is below the third section
NOTE: Upgrading from 2.0.3 to 2.0.4 is below the fourth section
NOTE: Upgrading from 2.0.2 to 2.0.3 is below the fifth section
NOTE: Upgrading from 2.0.1 to 2.0.2 is in the next section
NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom
########## UPGRADING FROM 2.9 TO 2.10 ##########
OPTIONAL STEPS(But highly recommended) - Backup existing system:
1. Run this for a 1-server system or server with database on it:
(this may take hours on large system)
/usr/share/astguiclient/ADMIN_backup.pl --debugX
2. Run this on dialer/Asterisk-only servers:
(do not run this if you only have one server):
/usr/share/astguiclient/ADMIN_backup.pl --debugX --without-db --without-web
REQUIRED STEPS!!!
1. Check system_settings, make sure you are at DB Schema Version 1378 or higher
If not, run the instructions for 2.7 to 2.9 before this section.
########## UPGRADING FROM 2.7 TO 2.8 (2.9 release branch) ##########
OPTIONAL STEPS(But highly recommended) - Backup existing system:
1. Run this for a 1-server system or server with database on it:
(this may take hours on large system)
/usr/share/astguiclient/ADMIN_backup.pl --debugX
2. Run this on dialer/Asterisk-only servers:
(do not run this if you only have one server):
/usr/share/astguiclient/ADMIN_backup.pl --debugX --without-db --without-web
REQUIRED STEPS!!!
1. Check system_settings, make sure you are at DB Schema Version 1347 or higher
If not, run the instructions for 2.4 to 2.7 before this section.
richardroi wrote:I did the steps again replacing step number 3 with this one " \. /usr/src/astguiclient/trunk/extras/upgrade_2.10.sql"
1.mysql
2.use asterisk
3.\. /usr/src/astguiclient/trunk/extras/upgrade_upgrade_2.10.sql
4.quit
5.cd /usr/src/astguiclient/trunk
6.perl ./install.pl (I choose N for Manual configuration)
7."Rebuild conf files = Y" and click submit
8./usr/share/astguiclient/ADMIN_area_code_populate.pl --purge-table --debug
Whola! I have informations again!
Will be testing some calls!
Kindly confirmed if I did it Right???
Thank you so much!
One more thing, I have to do this on all of my " asterisk servers"?
Users browsing this forum: No registered users and 71 guests