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 πŸ¦‹


πŸ’œ 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 πŸ’