GM-FINGERPRINT_DB(8)

NAME
gm-fingerprint_db - GNUmed server fingerprint database

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

<target database>: a GNUmed database (such as "gnumed_VERSION")

<gm-dbo password> the password for the databse owner <gm-dbo>

[--with-dump] if this option is given a dump of the database schema structure will be included created by:

    SELECT gm.concat_table_structure();

DESCRIPTION
The gm-fingerprint_db script can be used to fingerprint a GNUmed database in order to aid identifying particular databases or verifying database transfers (not upgrades).

The fingerprint of the database is written to the file

gm_db-<target database>-fingerprint.log

in the current directory.

EXAMPLES

Fingerprint the database gnumed_v19:

gm-fingerprint_db gnumed_v19 secret-password

Include a database schema structure dump:

gm-fingerprint_db gnumed_v19 secret-password --with-dump

AUTHOR
This manual page was written by Karsten Hilbert <karsten.hilbert@gmx.net>.