[DGD] Dump File Management

Neil McBride neil at castinian.org
Tue Jan 22 23:15:34 CET 2002


Erwin Harte wrote:

> On Tue, Jan 22, 2002 at 10:07:46PM +1100, Neil McBride wrote:
> 
>>Hi,
>>
>>
> [...]
> 
>>Has anyone else wanted to do anything like this?  How did you go about 
>>doing it?  I want to be able to eventually have a collection of game 
>>states I can go back to for when I do something I shouldn't and don't 
>>notice for days ;)
>>
> 
> What you could do is schedule your statedump at a fixed time, every
> hour at 00m 00s, and have an external process move it 15 minutes later
> to whatever filename you would like.


True, but I was hoping for something that didn't rely on that external 
process to ensure the files were kept.  If the scheduling process dies 
for whatever reason and it's not noticed, then you're down to the two 
backups.

There would always be a scheduled process to clean up files and move 
them about, delete old ones, etc, but I'd prefer that process not to be 
so critical to the whole backup process.


> Alternatively (but that's creating a small security risk) you could
> have the dump-files within DGD-space and do the renaming in LPC, since
> you know exactly when the statedumps are being done, there.


I thought of this one but but it towards the bottom of my list due to 
the security implications you mention.

Maybe I'll freshen up on C and work out how to do it ...

Cheers,

Neil.

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list