fastback icon indicating copy to clipboard operation
fastback copied to clipboard

Using Git directly results in better compression than fastback

Open Merith-TK opened this issue 2 years ago • 1 comments

Did the git commands by hand this time and it seems that using fastback results in less git compression than if I just ran git directly?

world init done by loading flatworld, looking around without moving to ensure chunks are loaded, saving and exit, World iterations done by copy/pasting/renaming world folder to new name to get the seperated folders

FastBack testing image

direct git testing (compared both git commit and git checkout --orphan empty-branch for this, results were the same in terms of storage) image

Merith-TK avatar Dec 07 '23 17:12 Merith-TK

This is probably because FastBack intentionally doesn't use delta compression, which I assume regular git does. It probably causes issues with large files like Minecraft saves perhaps?

From the FAQ:

Technical detail: FastBack disables delta compression, stores each backup snapshot in an orphan branch and aggressively prunes reflogs and tracking branches.*

bruglet avatar Apr 18 '24 21:04 bruglet