pcal43 / fastback

Fast, incremental Minecraft world backups. Powered by Git.
https://pcal43.github.io/fastback/
GNU General Public License v2.0
129 stars 19 forks source link

Can't back up the map #215

Open CMJNB opened 1 year ago

CMJNB commented 1 year ago

Why does the map look like the last time the server was shut down instead of the way it was backed up and restored after backup? Only the player's backpack and coordinates are what they looked like when they were backed up

pcal43 commented 1 year ago

not sure what you mean by 'the map'. the world?

it's pretty tough to answer that without a more detailed description of what you did.

CMJNB commented 1 year ago

not sure what you mean by 'the map'. the world?

it's pretty tough to answer that without a more detailed description of what you did.

Sorry, I mean the block data is not saved automatically, by default only player data is saved when the server is running, and the block data is written to the file when the server is shut down. This will result in the backed up data not containing newly modified block data. You need to manually execute the "save-all flush" command before the server will write the changed blocks to the file, and then "fastback" will back up correctly.

CMJNB commented 1 year ago

By the way, my current archive size has reached 13GB, but it can still be used normally, and I have been using the checkout branch to roll back the archive, which is faster than copying and pasting