Эксплуатация6 мин чтения
Upgrading a Minecraft server version without losing the world
Worlds convert forward and never back. The order to do an upgrade in, what to test, and how to be able to change your mind afterwards.
Эта статья пока на английском. Мы её переводим.
A world opened by a newer version is converted, and the conversion is one-way. That single fact decides the whole procedure: the backup you take before an upgrade is not a precaution, it is the only way back.
The order that works
- Take a backup and confirm it downloaded, not just that it was created.
- Check that every plugin has a build for the new version. The ones that do not are the decision you are actually making.
- Upgrade the server jar, start it once with nobody online, and read the console.
- Add plugins back a few at a time rather than all at once.
- Announce it afterwards, once you know it worked.
The plugin that has not updated
Sooner or later one plugin will hold the whole server on an old version. That is a real choice, not a failure: either the feature matters enough to stay, or it does not and you remove it. What does not work is upgrading anyway and hoping.
Nobody has ever regretted taking one more backup before an upgrade.