FTB Backups 2

FTB Backups 2

16M Downloads

Orphaned backup files and skipped backups jobs

ukmcplyr opened this issue ยท 8 comments

commented

Sunekaer's asked me to open as issue for bugs I've observed in FTB Backups shipped in Stoneblock 3.

In short there are two bugs:

  1. After a period, FTB Backups loses track of backup files stored in the top-level backups/. Starting over with a clean slate eventually leads to orphaned backups that are not listed in backups.json.

  2. During testing with backup_cron set to run every 3 minutes, backups are not consistently made even though a player is logged in.

See FTBTeam/FTB-Modpack-Issues#2189 for the more word-y report.

On the latter bug, I've left the server running with backup_cron set to 0 */3 * * * ? for a few hours with my player logged in and idling. Logs show 34 occurances of backups being skipped.

As noted in the FTB bug report, I've logs going quite far back but I'm unsure which would be most helpful.

commented

I think I've hit another bug (NPE when stopping server seconds before backup job followed by short 2-3 minute hang). Stoneblock 1.4.2 as above. Unsure if I should tack it on here, create a new issue or route via FTB?

commented

I think I've hit another bug (NPE when stopping server seconds before backup job followed by short 2-3 minute hang). Stoneblock 1.4.2 as above. Unsure if I should tack it on here, create a new issue or route via FTB?

Logs?

commented
commented

The issue with player detection should be fixed in the next version, As for the skipping of removing backups this could be due to the last update or the zips can not be accessed due to permissions of the file already being open, If you remove these backups manually and the issue happens again let us know

commented

nod I'll clear house again and report back if starts happening again. Cheers!

commented

The other issue should now also be fixed, Looks like a save was triggered as the server was shutting down causing a NPE

commented

Different modpack (Direwolf20 1.19) but I'm seeing the same again. This time I have a better idea of when things went wrong and a possible cause. Soon after upgrading to a bad pack revision which had a fatal datapack error, orphans started appearing.

I've checked ownership and permissions on every path component leading up to backups.json and they're absolutely fine.

Are all bets off after a crash like I describe (FTBTeam/FTB-Modpack-Issues#2290) or...?

TIA.

commented

Fixed in latest release