OSMOHLR-DB-TOOL(1)
π OSMOHLR-DB-TOOL(1) π
okay bestie, welcome to the User Commands section, this is the manual for OsmoHLR-db-tool, aka osmo-hlr-db-tool, and no you did not misread that, those two names are literally the same tool, iykyk π
β¨ NAME β¨
OsmoHLR-db-tool β it's osmo-hlr-db-tool, that's the whole name, that's the vibe π¦
πΈ SYNOPSIS πΈ
osmo-hlr-db-tool [-l <hlr.db>] [create|import-nitb-db <nitb.db>]
that's it, that's the whole shape of it, slay β¨
π DESCRIPTION π
so here's the whole menu of flags and commands, and bestie i am NOT skipping a single one, every crumb is getting eaten π
-l,--databasedb-name β which OsmoHLR database we're using. default ishlr.db. yes, it just assumes that if you say nothing π«Ά-h,--helpβ this text. the one you're looking at. iconic self-reference behavior tbh.-doption,--debug=DMAIN:DDB:DAUCβ turn on debugging. note the very specificDMAIN:DDB:DAUCthing, that's the format, don't freestyle it π-s,--disable-colorβ do NOT print ANSI colors in the log. lowkey a crime but ok, monochrome girlies deserve rights too π-T,--timestampβ sticks a timestamp on the front of every single log line. every one. no exceptions β°-e,--log-levelnumber β sets a global loglevel, one number to rule them all π-U,--db-upgradeβ allows HLR database schema upgrades. it's giving "yes i consent to the schema glow-up" β¨-V,--versionβ prints the version ofOsmoHLR-db-tool. cute lil flex π
π Commands π
createβ make an empty OsmoHLR database. and here's the lil plot twist: all commands imply this if none exists yet, so it just quietly does the thing for you, main character energy πimport-nitb-db<nitb.db>β takes OsmoNITB db's subscribers and adds them into the OsmoHLR db.
β οΈ okay real talk bestie, listen: the import is somewhat lossy. that is NOT a drill π¨ only these get set: the IMSI, MSISDN, IMEI, nam_cs/ps, 2G auth data and last seen LU. and for the IMEI it uses the most recently associated IMEI from the Equipment table. that's the whole list, nothing else comes along for the ride π
π COPYRIGHT π
Copyright Β© 2017 by sysmocom - s.f.m.c. GmbH License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
(fr fr, free to change, free to redistribute, zero warranty, read it and weep /lh) π
π¦ SEE ALSO π¦
The full documentation for OsmoHLR-db-tool is maintained as a Texinfo manual. And if the info and OsmoHLR-db-tool programs are properly installed at your site, this command:
info OsmoHLR-db-tool
should give you access to the complete manual. go get that lore bestie πβ¨
k that's the whole page, tysm for reading, ily, bye π
OsmoHLR-db-tool version 1.9.0 β January 2026 π
π¦ where this page comes from
- ubuntu resolute: osmo-hlr 1.9.0+dfsg1-2build1 Β· AGPL-3.0-or-later
- ubuntu stonking: osmo-hlr 1.9.0+dfsg1-2build1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms