FIX: Disabling GTNH backups to save disk space and reduce lag

Questions and discussion about web design, search engine optimisation and hosting
Santeri
Posts: 326
Joined: 2017-7-5 09:58

Unread post by Santeri » 2024-4-28 09:41

By default, GregTech New Horizons (GTNH) 2.5.1 Minecraft modpack switches on automatic backups. It is creating zip-packages to a directory called /backups. The extra load can make your server lag and on hosted Minecraft servers that have automatic backups included in the plans, it will quickly bloat the size of the system from some 3 GB to 30 GB all for nothing.

To solve this, you can switch off modpack backup. Modpack is using Aroma Backups (aroma1997) mod which is configured in serverutilities.

Edit file

Code: Select all

/serverutilities/serverutilities.cfg
and change in that file

Code: Select all

    # Enables backups.
    B:enable_backups=true
to

Code: Select all

    # Enables backups.
    B:enable_backups=false
After that you need to restart your server to apply the changes. Don't forget to delete all backup files from

Code: Select all

/backups
directory. Note that editing aroma1997 config file at /config/aroma1997/Aroma1997Core.cfg has no effect and server restart is required for the configuration changes to take effect.

Happy hacking,

Santeri