[Spce-user] db backend migration helper

Alex Lutay alutay at sipwise.com
Fri Mar 22 06:49:24 EDT 2019


Hi,

The tool is available since mr6.2 where we announce Redis support
for location:

> root at web01a:~# ngcp-location-migrate -m | cat
> NAME
>     ngcp-location-migrate - Migrate mysql location table to Redis
> 
> SYNOPSIS
>     ngcp-location-migrate [options]
> 
>     Options:
> 
>     --autoclean, -a delete entries from MySQL after successful migration
> 
>     --verbose, -v print debugging
> 
>     --help, -h brief help message
> 
>     --man, -m full documentation
> 
> DESCRIPTION
>     This program will read location entries stored in MySQL and will write
>     them in the appropriate data structures of Redis, one by one. In autoclean
>     mode, it will delete an entry from MySQL after successful insertion into
>     Redis.
> 
> LICENSE
>     This program is licensed under GPL-3+.
> 
> AUTHOR
>     Andreas Granig (agranig at sipwise.com)


> root at web01a:~# ngcp-location-migrate --help
> Usage:
>     ngcp-location-migrate [options]
> 
>     Options:
> 
>     --autoclean, -a delete entries from MySQL after successful migration
> 
>     --verbose, -v print debugging
> 
>     --help, -h brief help message
> 
>     --man, -m full documentation
> 
> root at web01a:~# 

Unfortunately proper section in mr6.5 LTS documentation has been lost
during LTS preparation, we will fix the documentation soonish.

Thank you for pointing us here!

On 3/22/19 10:31 AM, Jon Bonilla (Manwe) wrote:
> Is there any helper to migrate permanent registrations and/or acc marks from
> mysql to redis?

-- 
Alex Lutay



More information about the Spce-user mailing list