asterisk2billing.org
http://forum.asterisk2billing.org/

Problem Restore backup
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=11104
Page 1 of 1

Author:  kychifre [ Wed Dec 31, 2014 4:45 pm ]
Post subject:  Problem Restore backup

Hi I have a a2billing version 2.0.12 in production and I want to pass data to another server that has a2billing version 2.0.16, I used the option to restore from a2billing but does not restore the data.

Can anyone explain me how to restore data to the new a2billing?

A greeting.

Author:  jroper [ Fri Jan 02, 2015 10:06 am ]
Post subject:  Re: Problem Restore backup

Hi

Use MySQL dump and import via the MySQL CLI, then apply the database updates.

Joe

Author:  kychifre [ Sat Jan 03, 2015 12:50 am ]
Post subject:  Re: Problem Restore backup

Thanks jroper, have done what he says, I executed the following command

mysql -u root -p a2billing <namedb.sql

then from the mysql cli I updated the database

mysql> \. /usr/local/src/a2billing/DataBase/mysql-5.x/UPDATE-a2billing-v2.0.15-to-v2.0.16.sql

but the data is not restored, not if you can influence the names of the databases are not equal, must have the same name databases?

A greeting.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/