OSMOHLR-DB-TOOL(1)

πŸ“¦
version 1.9.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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, --database db-name β€” which OsmoHLR database we're using. default is hlr.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.
  • -d option, --debug=DMAIN:DDB:DAUC β€” turn on debugging. note the very specific DMAIN:DDB:DAUC thing, 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-level number β€” 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 of OsmoHLR-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 Β© 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