[IRCServices] Auto-Backup

Andrew Church achurch at achurch.org
Tue Aug 28 09:48:00 PDT 2001


>My shell provider likes to crash a lot and 90% of the time my databases
>get corrupt. So I wrote a simple perl script that every 12 hours
>archives the current databases. I was wondering if there was some way
>that right before my script runs it could signal services to save to
>disk? Thanks.

     You can't do this, but if you keep UpdateTimeout (in services.conf)
low enough then you shouldn't have much data loss--especially since your
backup interval is 12 hours anyway, so an extra 30 minutes (default) give
or take won't make a significant difference.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/