Dumping database

Posted by Sytennia on Sun 04 Aug 2002 10:24 PM — 2 posts, 12,093 views.

#0
Got it running and everything(yay!), and now I'm trying to figure out how to do the dump. I know you can do it manually and all, but I'm trying to figure out how to set it to do it every hour or two(What's a good time?). I looked at "help @dump" and all.

The paranoid switch is to set it to dump every so minutes or every so objects? And if so, is it, "@dump [/paranoid] [object? minutes?]"? And how do I check to see what it's set to and if I did it right?
Australia Forum Administrator #1
In the mush.cnf file is a setting for that. It automatically dumps the database every interval, use @dump if you want to force a dump at another time (eg. if you are worried the PC might crash).


# How often should the database be dumped, in seconds?
# 3600 is once an hour, and probably the most frequent you'd ever want.
# On a large MUSH, consider at most once every 3-6 hours.
# This cannot be a multiple of any of the timer.c parameters
# (so keep it an even number of hours).
dump_interval 3600