GM-ZIP+SIGN_BACKUPS(8)
πΎ gm-zip+sign_backups β like, the manual page (section 8, System Manager's Manual, bestie) β¨
π NAME π
gm-zip+sign_backups β pack and sign backups of GNUmed databases. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
gm-zip+sign_backups
no flags, no arguments, no drama. she just runs. iconic behaviour honestly π«Ά
β¨ DESCRIPTION β¨
okay so listen. the gm-zip+sign_backups script compresses and signs GNUmed database backups. zip it, sign it, done, slay π
and ngl it is a really good idea to use it in a daily cron/anacron job so that your GNUmed patient data stay safe against data loss. like, this is not a vibe suggestion, this is the whole point. protect the data. periodt π₯
and the best part? the Debian GNU/Linux packaged version of the GNUmed server installs such a cron job by default. so if you're on that, congrats, you're already thriving, no extra setup needed π
π EXAMPLES π
anacron
you can add the following line 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 storage area where the backups are kept. very much giving "keep your receipts" energy π§
π¦ SEE ALSO π¦
gm-backup_database(8)/etc/gnumed/gnumed-backup.confanacron(8)cron(8)
π AUTHOR π
this manual page was written by Karsten Hilbert, for the Debian GNU/Linux system (but may be used by others). absolute legend, we love a generous author π«Ά
also likeβ¦ please actually schedule this?? a backup script nobody runs is just a very pretty script sitting there. do not let that be your story π
and that's the page!! GNUmed database backup zip+sign, 2011 May 10th β yeah, she's been out here being reliable since 2011 and she's still serving πβ¨π bye bestie, go back up your databases fr fr π
π¦ where this page comes from
- debian bookworm: gnumed-server 22.19-1 Β· GPL-2.0-or-later
- debian trixie: gnumed-server 22.31-1 Β· GPL-2.0-or-later
- ubuntu jammy: gnumed-server 22.17-1 Β· GPL-2.0-or-later
- ubuntu noble: gnumed-server 22.28-1 Β· GPL-2.0-or-later
- ubuntu resolute: gnumed-server 22.31-1 Β· GPL-2.0-or-later
- ubuntu stonking: gnumed-server 22.34-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms