File: gm-fingerprint_db.8

package info (click to toggle)
gnumed-server 21.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 45,408 kB
  • ctags: 3,891
  • sloc: sql: 1,210,640; python: 13,526; sh: 1,476; makefile: 19
file content (51 lines) | stat: -rw-r--r-- 1,135 bytes parent folder | download
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 databse 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>.