File: gm-fingerprint_db.8

package info (click to toggle)
gnumed-server 22.15-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 46,556 kB
  • sloc: sql: 1,217,005; python: 15,469; sh: 1,553; makefile: 20
file content (51 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH GM-FINGERPRINT_DB 8 "2011 Oct 22nd" "GNUmed server fingerprint database"

.SH NAME
.B gm-fingerprint_db
- GNUmed server fingerprint database

.SH SYNOPSIS
.B gm-fingerprint_db
.I <target database>
.I <gm-dbo password>
.I [--with-dump]

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

.I <gm-dbo password>
the password for the database owner <gm-dbo>

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

	SELECT gm.concat_table_structure();

.SH DESCRIPTION
The
.B 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

.B 	gm_db-<target database>-fingerprint.log

in the current directory.

.SH EXAMPLES

Fingerprint the database gnumed_v20:

.B 	gm-fingerprint_db
gnumed_v20 secret-password

Include a database schema structure dump:

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

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