GM-ZIP+SIGN_BACKUPS(8) | System Manager's Manual | GM-ZIP+SIGN_BACKUPS(8) |
gm-zip+sign_backups - pack and sign backups of GNUmed databases
gm-zip+sign_backups
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.
anacron
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
cron
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
PROCMAIL
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.
/etc/gnumed/gnumed-backup.conf
This manual page was written by Karsten Hilbert, for the Debian GNU/Linux system (but may be used by others).
2011 May 10th | GNUmed database backup zip+sign |