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

[BUG] Fastback try to backup the whole server when using Mohist as server software. #351

Open
meepuru opened this issue Sep 17, 2024 · 0 comments

Comments

@meepuru
Copy link

meepuru commented Sep 17, 2024

  • Mod version: fastback-0.15.6+1.20.1-forge

  • Server version: mohist-1.20.1-864

  • Git version: git-2.43.5-1.el9_4.x86_64 git-lfs-3.4.1-2.el9_4.x86_64

  • Java version: openjdk 22.0.2 2024-07-16

  • Issue description: Fastback tries to backup the entire server files when executing /backup local, and git files are created at the server root.
    Here is a part of the debug log:

[22:26:30 INFO]: [DEBUG] add  plugins/voicechat-bukkit-2.5.16.jar
[22:26:30 INFO]: [DEBUG] add  plugins/voicechat/translations.properties
[22:26:30 INFO]: [DEBUG] add  plugins/voicechat/voicechat-server.properties
[22:26:31 INFO]: [DEBUG] add  rhino.local.properties
[22:26:32 INFO]: [DEBUG] add  server-icon.png
[22:26:32 INFO]: [DEBUG] add  server.properties
[22:26:32 INFO]: [DEBUG] add  spigot.yml
[22:26:32 INFO]: [DEBUG] add  the_aether/uid.dat
[22:26:33 INFO]: [DEBUG] add  usercache.json
[22:26:33 INFO]: [DEBUG] add  usernamecache.json
[22:26:33 INFO]: [DEBUG] add  wepif.yml
[22:26:33 INFO]: [DEBUG] add  whitelist.json
[22:26:36 INFO]: [DEBUG] add  world/DIM-1/data/LostCityTodo.dat
[22:26:36 INFO]: [DEBUG] add  world/DIM-1/data/adastra_planet_data.dat
[22:26:36 INFO]: [DEBUG] add  world/DIM-1/data/an_redstone_signals.dat
[22:26:36 INFO]: [DEBUG] add  world/DIM-1/data/brandonscore_world_entity.dat
  • Expected behavior: Only backup the world folder.

  • Comment: Even though I can set fastback.update-gitignore-enabled to false and modify the .gitignore file to make it run correctly, I think it's more elegant to add a config entry like world-path to specify the path to the save folder or something similar.

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

1 participant