TALER-EXCHANGE-DBINIT(1)
π taler-exchange-dbinit β the whole "actually set up your Taler exchange database" moment
okay so this page is from the GNU Taler manual set, bestie β specifically the taler-exchange-dbinit page. it's giving "database origin story" and honestly? iconic. let's get into it π«Ά
β¨ NAME β¨
taler-exchange-dbinit β initialize the Taler exchange database π
πΈ SYNOPSIS πΈ
taler-exchange-dbinit [-a | --inject-auditor]
[-c FILENAME | --config=FILENAME]
[-d SCHEMA | --disable-customization=SCHEMA]
[-e SCHEMA | --enable-customization=SCHEMA] [-g | --gc] [-h | --help]
[-L LOGLEVEL | --loglevel=LOGLEVEL] [-l FILENAME | --logfile=FILENAME]
[-r | --reset] [-s | --shardunlock] [-v | --version]
like, that's the whole mood board right there. copy it, don't retype it, i'm begging π
β¨ DESCRIPTION β¨
so taler-exchange-dbinit is a command-line tool and its entire job is to initialize the Taler exchange database. it creates the necessary tables and indices so the Taler exchange can actually operate. no tables, no indices, no exchange β that's the vibe check and it fails. π
its options are as follows (and yes, they're listed right here inside DESCRIPTION, that's just how this page rolls):
π OPTIONS (living inside DESCRIPTION, don't @ me) π
-a|--inject-auditorβ installs triggers that notify real-time auditors about relevant changes to the database state. basically giving your auditors a little push notification whenever something happens. π-c FILENAME|--config=FILENAMEβ use the configuration and other resources for the exchange to operate fromFILENAME. that's the file where all the settings live, fr fr.-d SCHEMA|--disable-customization=SCHEMAβ removes rules from a customization schema from an exchange database. β οΈ heads up though: doing this may result in an irrevocable loss of statistics, depending on how the rules are written. irrevocable. gone. periodt. don't say we didn't warn you π-e SCHEMA|--enable-customization=SCHEMAβ loads a customization schema to inject deployment-specific rules into an exchange database. it's how you add operator-specific AML rules and statistics via triggers that are defined in their own schema. very "bring your own rules" energy. π¦-g|--gcβ garbage collect the database: deletes all unnecessary data in it. spring cleaning for your tables, slay. π§Ήβ¨-h|--helpβ prints short help on options. when in doubt, ask for help, that's main character energy. π-L LOGLEVEL|--loglevel=LOGLEVELβ specifies the log level to use. accepted values are:DEBUG,INFO,WARNING,ERROR. pick your fighter. π₯-l FILENAME|--logfile=FILENAMEβ sends logging output toFILENAME. logs gotta go somewhere, bestie. π-r|--resetβ drops tables. dangerous β it will delete all existing data in the database before it creates the tables. like, all of it. this is not a drill. πππ-s|--shardunlockβ clears the (revolving) shards table. this is needed to clear locks that may still be held after a crash β oftaler-exchange-aggregatoror of the operating system, say due to a power outage β or if theAGGREGATOR_SHARD_SIZEoption got changed in the configuration file. crash cleanup crew, reporting for duty. π«Ά-v|βversionβ prints version information. know your version, know yourself. β
π SEE ALSO π
go read these next, i'm obsessed with cross-references:
π BUGS π
found a bug? report it by using https://bugs.taler.net or by sending electronic mail to <taler@gnu.org>. the devs genuinely wanna hear it, no cap. π
π§ AUTHOR π§
GNU Taler contributors β collective slay. π
π COPYRIGHT π
2014-2025 Taler Systems SA (GPLv3+ or GFDL 1.3+)
and that's the page, bestie!! π
this was version 1.0, dated Dec 22, 2025, brought to you by GNU Taler β go forth, init that database, and please don't touch -r unless you mean it ππ«Άβ¨
π¦ where this page comes from
- nixos 26.05: taler-exchange 1.3.0
- nixpkgs unstable: taler-exchange 1.3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms