GM-FINGERPRINT_DB(8)

πŸ’– NAME πŸ’–

gm-fingerprint_db β€” the GNUmed server fingerprint database bestie πŸ’…

okay so real talk, this lil script takes a pic of your GNUmed database so you can tell which database is which later. it's giving ✨forensic scientist✨ but make it postgres.


πŸŽ€ SYNOPSIS πŸŽ€

gm-fingerprint_db <target database> <gm-dbo password> [--with-dump]

so here's the tea on every single piece of that, no skips:

  • <target database> β€” a GNUmed database (like, for example, "gnumed_VERSION") πŸ¦‹
  • <gm-dbo password> β€” the password for the database owner <gm-dbo> πŸ”
  • [--with-dump] β€” if you pass this option, a dump of the database schema structure gets included, and it's created by this icon right here:
SELECT gm.concat_table_structure();

✨ DESCRIPTION ✨

The gm-fingerprint_db script is your go-to when you wanna fingerprint a GNUmed database πŸ’… β€” it helps you identify particular databases or verify database transfers. and bestie, please note the way that it's for transfers, not upgrades. not upgrades, periodt. πŸ™ˆ

The fingerprint of the database gets written to this file:

gm_db-<target database>-fingerprint.log

and it lands in the current directory, so don't go looking in some random folder, it's literally right there. 🫢


🌸 EXAMPLES 🌸

Fingerprint the database gnumed_v20:

gm-fingerprint_db gnumed_v20 secret-password

Include a database schema structure dump too:

gm-fingerprint_db gnumed_v20 secret-password --with-dump

see how easy?? main character energy fr fr πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

This manual page was written by Karsten Hilbert <karsten.hilbert@gmx.net> πŸ’œ


and that's a wrap, bestie!! this page comes from the System Manager's Manual, it's tagged as GNUmed server fingerprint dat... dated 2011 Oct 22nd, and yes it's still serving under GM-FINGERPRINT_DB(8) πŸŽ€πŸ¦‹β­