Pack and sign backups of gnumed databases
The gm-zip+sign_backups script compresses and signs GNUmed database backups.
It is a really good idea to use it in a daily cron/anacron job to ensure that GNUmed patient data are safe against data loss. The Debian GNU/Linux packaged version of the GNUmed server installs such a cron job by default.
The following line could be added to a system's /etc/anacrontab to make sure it creates daily database backups for GNUmed:
1 15 gnumed-<your-company>-sign-backups /usr/bin/gm-zip+sign_backups.sh
Add the following line to a crontab file to sign database backups at 12:47 and 19:47 every day:
47 12,19 * * * * /usr/bin/gm-zip+sign_backups.sh
It is useful to have a PROCMAIL rule for the digital notary server replies piping them into the stoarage area where the backups are kept.
This manual page was written by Karsten Hilbert, for the Debian GNU/Linux system (but may be used by others).