7

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.

1
  • 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
4

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. :(

5
  • 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 – user821 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
  • @Josh It's not a jab, poor Fosco doesn't have any responsibility with this. – badp Dec 9 '10 at 15:16
  • Oh, OK. Well +1 for mentioning Fosco anyway ;-) (I really do need to get Minecraft so I can learn what the heck the rest of you are always talking about...) – Josh Dec 9 '10 at 15:40
5

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.

-1

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

1
  • 2
    This question is about the Mojang server, not about the CraftBukkit server. – SevenSidedDie Sep 7 '13 at 22:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy