I'm running a creative SMP server on Windows. I have a backup script that copies the current world folder to a backup folder, then zips that folder for storage. Then I have c10t generate a map from that copied world folder. This runs every hour. So every hour I have a backup of the world and a PNG of what the world looks like.
But, here's what I'm worried about. Every time it generates the map, I look and I see random square holes in the map, sometimes right in the middle of some user-built structure. These holes aren't there when I go look on the live server itself. And, every time it generates the new map, the position of the holes change. Here's what they look like on the generated maps and what the next generate map looks like:
I'm worried that these will persist if I stop the server and then start it up again (meaning whole bites taken out of user-built structures), or if these are just random mapping errors with c10t, and my world files are actually fine. I'm worried that if something happens and I have to restore from one of these backups, that hole will be there on the restore. (I know the server will regenerate the hole to from a seed, but I'm worried about user-built structures in those locations.)
Does anyone with running a server on Windows want to chime in with their experience? Are these "holes" actually a problem, or am I just being needlessly worried? Or if they are a problem, is there something I can do to fix this so it's not happening?
You need to force a "save-all" before grabbing the files. This forces the server to write any chunk changes from memory to disk. This is likely the source of your missing chunks.
On 'nix just launch the server in a screen and have your batch file switch to that screen momentarily, echo a "save-all" and then leave the screen, I found a linux shell script here that automates the entire process, you just tell it the world location, screen name and it handles the rest. Even tars and sorts by folder days and subsorts by hour.
I have it doing a save-all every 15 minutes using the WorldSave plugin for hMod, but I guess that's not good enough? It needs to be save-all right before the copy? Just to see, I did do a save-all and then immediately (within 2 secs) ran my backup script. It still gives the random holes. :\ There doesn't seem to be a reliable way to get the whole world without missing chunks. It seems to be just a "hope-and-pray" situation when backing up.
I did a test restore from one of the backups where there's a hole right through a user-built structure and sure enough, that person's structure was half-gone when I went to go look in MC itself. So it's definitely a dangerous thing that chunks are randomly missing from the backups.
Is nobody else on Windows running into this situation?