[Tinymux] Auto-Backup Script?

Tom Spindler dogcow at babymeat.com
Thu May 19 17:49:59 EDT 2005


> Is there a simple way to rig up a cron or some other script to backup a MUX database and e-mail it to a specified address? This would be for a Red Hat 9 linux box running MUX 2.3.4.23 #1. Thanks! (And sorry for posting another question so soon on the heels of my networking problems.)

You can't do it from within the MUX itself; you need to do it from
unix cron - e.g.

crontab -e
25 9 */5 * * cd /home/vegas/vegasmux/game; z=`./Backup | awk '/success:/ {print $2}'`; echo "Vegas backup: $z" | mutt -a $z -s "Vegas DB backup" someboddy at address.com

(this assumes you have mutt installed.)



More information about the Tinymux mailing list