gromox-mkmidb(8)

πŸ“¦ version 3.6, in alpine 3.24, opensuse-leap 16.0

🌸 NAME 🌸

okay so welcome to gromox-mkmidb(8), bestie β€” a page straight from the Gromox admin reference. She is literally the tool for creating a blank message index database. Blank database, fresh start, main character energy. πŸ’…βœ¨

✨ SYNOPSIS ✨

gromox-mkmidb [-Uv] [-c config] [-fP] username

πŸ’… OPTIONS πŸ’…

  • -U β€” instead of creating the SQLite file, upgrade it. The -f option has no effect here. Real talk: mkmidb does not coordinate with midb(8gx), and data corruption is possible if both try to edit the file at the same time. You should let midb(8gx) do upgrades instead, via the "midb_schema_upgrades" directive, or at the very least, stop midb when using mkmidb -U. This is not a drill, bestie. 😭
  • -c config β€” read configuration directives from the given file. If this option is not specified, /etc/gromox/mysql_adaptor.cfg will be read for MySQL connection parameters if that file exists. πŸ“
  • -f β€” force overwrite when an existing SQLite database is detected for the user. By default, mkmidb will not touch midb.sqlite3. πŸ’€
  • -v β€” turn on verbose mode for -U. Lowkey useful when you want the upgrade to spill the tea. πŸ«–
  • --create-old β€” create blank initial database using version 0. (This can be used for testing the upgrade procedure.) Very β€œtime travel for testing” of it. πŸ•°οΈ
  • --integrity β€” perform SQLite integrity check, either standalone or, if -U is also given, as part of an upgrade. She's doing a vibe check on the database. βœ…
  • -? β€” display option summary. When you need the cheat sheet, bestie. πŸ“‹

πŸŽ€ FILES πŸŽ€

  • /var/lib/gromox/.../exmdb/midb.sqlite3 β€” Message index database for IMAP. That's the little file giving IMAP message index realness. πŸ’–

πŸ‘€ SEE ALSO πŸ‘€


πŸ’– That's the whole page, bestie! Source/version: Gromox; manual: gromox-mkmidb(8); date: not printed in this copy, so I'm not inventing one β€” periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from