msmhq / msm

An init script for managing Minecraft servers
http://msmhq.com
GNU General Public License v3.0
1.22k stars 225 forks source link

SEVERE: Backups back up wrong (empty) world folder #337

Open stevenroose opened 8 years ago

stevenroose commented 8 years ago

I just realized (the hard way :s) that my MSM installation has been making empty backups from the beginning. All archives are empty and so is the <server>/worldstorage directory.

Log backups work fine.

stevenroose commented 8 years ago

It seems to be using WORLD_PATH here instead of WORLD_STORAGE_PATH. I don't know what the two different ones are for, though.

All I know is that I symlinked worldstorage/world/ to world/, where the world is stored, so both should be backup the same way, but still no decent backups are made. Actually, msm <server> worlds backup doesn't create any file anymore. Not even empty archives.

The most important feature of MSM is automatic backups, how come that they are not configured correctly for a Vanilla minecraft server?

chuckleb commented 8 years ago

I noticed that the other day as well, backups weren't working right. I just modified the cron to back up by hand until I could investigate and try to fix. I also have been symlinking folders around.

02 05 * * * minecraft /etc/init.d/msm servername backup