GM-MOVE_BACKUPS_OFFSITE(8)

πŸ’– GM-MOVE_BACKUPS_OFFSITE πŸ’–

okay bestie, so this is the gm-move_backups_offsite page from the System Manager's Manual β€” section 8, system administration girlies only πŸ’…. let's get into it.


✨ NAME ✨

gm-move_backups_offsite β€” move GNUmed backups to elsewhere πŸ¦‹


🌸 SYNOPSIS 🌸

gm-move_backups_offsite

that's it. no flags, no options, no arguments. she takes zero input and she serves πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so the gm-move_backups_offsite script is your little helper for moving backups over to another host β€” IOW storing them "offsite" in the loosest sense of the word 😭. like, we're not talking about a secure data centre in another country, we're talking "it's on a different machine, bestie, that counts."

no cap, that's the whole vibe. simple script, big energy. ✨


🌈 EXAMPLE 🌈

okay imagine this situation, because it's literally the plot of a movie:

  1. a laptop running client and database which is taken to the office, to patients, etc πŸ‘‘
  2. a desktop at home with some spare storage πŸ’–
  3. the laptop is occasionally connected to the home network and thus has access to the desktop machine πŸ¦‹

so given appropriate configuration of gm-move_backups_offsite one could add the following two lines to the cron script on the laptop to make sure database backups are replicated to the desktop whenever the laptop has access to it:

@reboot         /usr/bin/gm-move_backups_offsite.sh

5 0-23 * * *    /usr/bin/gm-move_backups_offsite.sh

the way that first line fires on every reboot and the second one runs at minute 5 of every single hour 0 through 23... she is committed. main character energy fr fr 🫢


πŸ’œ SEE ALSO πŸ’œ

  • /etc/gnumed/gnumed-backup.conf

go read the config file, bestie, that's where the magic happens 😌


⭐ AUTHOR ⭐

This manual page was written by Karsten Hilbert, for the Debian GNU/Linux system (but may be used by others).


and that's a wrap πŸŽ€ this was the GNUmed backups offsiting page, dated 2011 May 10th, aka GM-MOVE_BACKUPS_OFFSITE(8) β€” she's been iconic since 2011 and she's still slaying. periodt. πŸ’…βœ¨