mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #870] [Feature]: Allow GitHub Backup to Include Spools, Archives, and Print Files (Complete Backup Option) #591
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#591
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SMAW on GitHub (Apr 1, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/870
Originally assigned to: @maziggy on GitHub.
Problem or Use Case
When pushing a backup to GitHub, only certain settings, k-profiles, and cloud profiles are included. The feature is currently missing any backup of spool inventory, archives (past print records), and especially gcode/3MF print files or thumbnails kept in the database/storage. Users expecting a "backup" want all important data covered for disaster recovery, not just a subset.
This limitation makes the GitHub backup not suitable as a true backup or migration; if the system fails, important historical print data, spool usage/costs, and actual print files are lost.
Proposed Solution
Add an option to the GitHub Backup feature that allows users to optionally include spool inventory, print archives/history, and attached print files (gcode, 3MF, thumbnails, etc.) in the repository push.
Alternatives Considered
Feature Category
Other
Priority
Critical for my use case
Mockups or Examples
No mockups provided, but see Local Backup feature for a reference on what a full backup should include.
Contribution
Checklist
@basziee commented on GitHub (Apr 1, 2026):
+1
@maziggy commented on GitHub (Apr 2, 2026):
The GitHub backup feature was intentionally designed for lightweight configuration data (K-profiles, cloud slicer profiles, app settings) since it uses the GitHub API to create commits — it's well-suited for small JSON files that change over time.
For print files (gcode/3MF), GitHub repos aren't a great fit:
For full backups including print files, the Local Backup (ZIP download) is the right tool. If you want to automate off-site storage of those, you could set up a simple cron job on your host to periodically copy the Bambuddy storage directory to your preferred backup destination (NAS, cloud storage, etc.). The Bambuddy data lives in the Docker volume, so a scheduled cp or rsync would cover everything.
Anyway, I added the spool inventory and print archive/history metadata as optional JSON exports to the GitHub backup. This would give you off-site backup of your print history, spool usage, and costs — just not the actual gcode/3MF files themselves.
Available/Fixed in branch dev and available with the next release or daily build.
If you find Bambuddy useful, please consider giving it a ⭐ on GitHub — it helps others discover the project!
@SMAW commented on GitHub (Apr 2, 2026):
Can't you make a dropdown with daily/weekly/hourly for the full job then? just like the Github one?
@maziggy commented on GitHub (Apr 2, 2026):
Huh?
@SMAW commented on GitHub (Apr 2, 2026):
For the full backup job that places the files in the directory, is it possible to schedule that backup? I don't want to download it, put it in a the container mountpoint somewhere, And I will backup manually
@maziggy commented on GitHub (Apr 3, 2026):
You just need a cronjob to copy the data to your backup location. Just backup the following files/folders:
@SMAW commented on GitHub (Apr 3, 2026):
I understand, but why not make an automatic backup (statefull of the DB) .tar.gz package on a x time you give in the webui? So It makes a complete compressed packaged of that timestamp (statefull!) and have multiple backups in one folder for example for the last 7 days (changeable trough the webui)
@maziggy commented on GitHub (Apr 3, 2026):
For a better tracking, please open a new feature request for it. Thanks.
@SMAW commented on GitHub (Apr 3, 2026):
#884