There is no built-in implementation in a Vanilla Minecraft server to force a save every X minutes, then back up the files into a folder. I know how to do log rotations and I can also do a normal backup using Window's XCOPY
or ROBOCOPY
, but have no idea how to do it when the server is running to prevent possible data corruption.
How can I perform an automatic backup that ensures a consistent state of the game data?
The server is running on Windows.