Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Git directly results in better compression than fastback #299

Open
Merith-TK opened this issue Dec 7, 2023 · 1 comment
Open

Using Git directly results in better compression than fastback #299

Merith-TK opened this issue Dec 7, 2023 · 1 comment

Comments

@Merith-TK
Copy link
Contributor

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

@bruglet
Copy link

bruglet commented Apr 18, 2024

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.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants