Backup includes unwanted old GCode/BGcode-Files

What is the problem?

Function: Backup and Restore; Create backup; Do not back up uploads & metadata.
octoprint-systeminfo-20250623142725.zip (27.5 KB)

Backup is being performed and is close to the 1GB limit (850MB/950GB).

The zip file is so large because all Gcode/BGcode files ever created are still included, which shouldn't have been included due to the checkbox "Do not back up uploads and metadata"!

What did you already try to solve it?

WRITE HERE

Have you tried running in safe mode?

No, not relevant

Did running in safe mode solve the problem?

dont know

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20250623142725.zip (27.5 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

The bgcode files are probably being backed up from my plugin's data folder. I'm not sure OctoPrint's core give plugins the ability to exclude files from their folders based on those options in the backup but it is something on my list to look at. If you don't need those files you should be able to safely remove them from the zip.

EDIT: just looked, there is a way to exclude files and I will be implementing this, issue tracker: https://github.com/jneilliii/OctoPrint-BGCode/issues/16

curious why those files are even there because they shouldn't be hanging around, but others have mentioned this as well: https://github.com/jneilliii/OctoPrint-BGCode/issues/15