Skip to content

Backups on servers not backing up the world folder. #243

Description

@NikolaiM88

Your GTNH Discord Username

Nishea/Nimad88

Mod Version

2.8.0

Bug Report

In this file:
ServerUtilities/blob/master/src/main/java/serverutils/task/backup/BackupTask.java
The folder for the world is found using this call:
File worldDir = DimensionManager.getCurrentSaveRootDirectory();

This call uses net.minecraftforge.common.DimensionManager which only takes the local saves while playing SP (The Saves folder), and not the SMP folder for all the dimension data (Worlds folder).

So only if you have the "backup claimed chunks only" feature enabled, will your backups actually backup your world data correctly (since it uses different logic).

It seems like a condition is needed to for the regular backup method, to have the worldDir pulled correctly when you are on a server.

Java Version

Java 8

Mod List or GTNH Pack Version

Regular 2.8.0 install

Final Checklist

  • I have searched the issues and haven't found a similar issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions