Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I've found these two commands related to 'auto-save' on the Op wiki page:

  • /save-off - turns off auto-save.
  • /save-on - turns on auto-save.

but I can't find any documentation on the length of time between this 'auto-save'.

Is the duration between saves referenced anywhere?

I'm trying to automatically backup SMP saves and although I'm aware of some libraries where I can communicate with the server (mcchat for example) I'd rather use something that was built into the game as it reduces the chance of it breaking later.

Bonus points for diagrams.

share|improve this question
2  
I don't trust auto-save. I'm always manically "save-all"-ing so I don't lose my work. –  Cory J Dec 8 '10 at 22:37

3 Answers 3

up vote 4 down vote accepted

If our experience on Fosco's server is worth anything: by far not frequently enough. We've easily lost hours worth of work due to server crashes. :(

share|improve this answer
2  
Aye, this was one the reasons I asked. I've seen some references to save-on thrashing the disk but it appears to not be the case –  Thomas McDonald Dec 8 '10 at 21:45
    
that might be related to this: minecraftforum.net/viewtopic.php?f=1013&t=82341 –  alexanderpas Dec 9 '10 at 9:42
    
@Alex this also happened without hey0 enabled... –  badp Dec 9 '10 at 10:20
    
+1 for the jab at Fosco ;-) –  Josh Dec 9 '10 at 15:09
    
@Josh It's not a jab, poor Fosco doesn't have any responsibility with this. –  badp Dec 9 '10 at 15:16

I actually wrote a script to handle starting, stopping, console commands, and auto-saving on my Linux servers. I then have a cronjob that issues a save-all command every hour and another that backs-up the world to remote storage every hour so i can restore when my dick friends mess stuff up. I can do stuff like this from a Linux shell:

$ minecraft_server stop
$ minecraft_server start
$ minecraft_server_command [any server command]

Also using this script, I wrote a web application that I can interactively give myself (or whoever) any number of a resource (i.e. >64 at a time).

I'd be happy to put it up on pastebin or something if somebody wanted it. It requires screen be installed and the web-app is written in python with a django web framework and MySQL database so that would be kind of difficult to port.

share|improve this answer

It Should be in your Bukkit.yml file it will say autosave: 0 thats the default. I prefer making it 6000 for 5 minutes

share|improve this answer
2  
This question is about the Mojang server, not about the CraftBukkit server. –  SevenSidedDie Sep 7 '13 at 22:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.