[OpenSIPS-Users] opensips-cli DB migrate Question

Liviu Chircu liviu at opensips.org
Fri Oct 1 13:52:11 EST 2021


On 01.10.2021 16:01, Mark Farmer wrote:
>
> I will need to upgrade some OpenSIPS 3.0 servers to 3.2 where the 
> database for the ACC module is located on a different server to the 
> rest of the OpenSIPS database.
>
> Is there a way to specify the different location when upgrading the 
> ACC tables?

Hi Mark,

There are examples in the CLI "database" module docs on how to achieve 
this.  Make sure to set the "database_schema_path" option, as well to do 
a temporary git checkout, in advance, of the DB schema version you will 
be using:

https://github.com/OpenSIPS/opensips-cli/blob/master/docs/modules/database.md#database-migration-mysql-only

Best,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS eBootcamp 2021: www.opensips.org/training




More information about the Users mailing list