gm-fingerprint_db - GNUmed server fingerprint database
Contents
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-<targetdatabase>-fingerprint.log
in the current directory.
Examples
Fingerprint the database gnumed_v20:
gm-fingerprint_db gnumed_v20 secret-password
Include a database schema structure dump:
gm-fingerprint_db gnumed_v20 secret-password --with-dump
Name
gm-fingerprint_db - GNUmed server fingerprint database
Synopsis
gm-fingerprint_db<targetdatabase><gm-dbopassword>[--with-dump]<targetdatabase>: a GNUmed database (such as "gnumed_VERSION")
<gm-dbopassword> the password for the database 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();
