1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #884] [Feature]: Scheduled Automatic Local Backups (gzipped stateful snapshots with retention management via web UI) #605

Closed
opened 2026-05-07 00:12:01 +02:00 by BreizhHardware · 2 comments

Originally created by @SMAW on GitHub (Apr 3, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/884

Originally assigned to: @maziggy on GitHub.

Problem or Use Case

There is currently no built-in way to schedule automatic full local backups of Bambuddy's database and files (e.g. archive/, icons/, plate_calibration, virtual_printer/, bambuddy.db). Existing options require manual downloads or advanced scripts outside the app environment. This makes robust disaster recovery, system migration, or peace-of-mind very difficult for users who do not want to automate via container host scripts or constantly interact manually.

Proposed Solution

The desired solution would be an extra option in the web UI to schedule a full local backup with a cron-like scheduler (hourly/daily/weekly dropdown), similar to how the GitHub backup scheduling already works.

The scheduled job creates a stateful .tar.gz snapshot of the full Bambuddy data (archive/, icons/, plate_calibration, virtual_printer/, bambuddy.db) and places the gzipped files in a separate backup folder. This backup folder can then be mounted as a Docker volume so users can point it to their NAS or any other external storage — from there they handle their own offsite backup.

  • Add a scheduling dropdown (hourly/daily/weekly) in the web UI, just like the GitHub backup one.
  • The job creates a complete .tar.gz of all stateful data at each interval.
  • Output the .tar.gz files to a dedicated /backup folder (separate from the data volume) that users can mount via Docker to their NAS or cloud storage.
  • Add a retention setting (e.g., keep last N backups) configurable in the web UI to prevent disk usage from growing endlessly.

Alternatives Considered

  • Current Local Backup to ZIP is manual and doesn't support automated retention or web UI scheduling.
  • Advanced users can set up their own cron jobs and rsync/cp Docker volumes, but this is not accessible for most and not integrated.
  • Some users rely on host-level VM or volume snapshots, but this offers no control in-app and no per-instance backup granularity.

Feature Category

Other

Priority

Critical for my use case

Mockups or Examples

No mockups provided, but see the existing Local Backup and GitHub Backup scheduling features for reference.

Contribution

  • I would be willing to help implement this feature

Checklist

  • I have searched existing issues to ensure this feature hasn't already been requested
Originally created by @SMAW on GitHub (Apr 3, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/884 Originally assigned to: @maziggy on GitHub. ### Problem or Use Case There is currently no built-in way to schedule automatic full local backups of Bambuddy's database and files (e.g. archive/, icons/, plate_calibration, virtual_printer/, bambuddy.db). Existing options require manual downloads or advanced scripts outside the app environment. This makes robust disaster recovery, system migration, or peace-of-mind very difficult for users who do not want to automate via container host scripts or constantly interact manually. ### Proposed Solution The desired solution would be an extra option in the web UI to schedule a full local backup with a cron-like scheduler (hourly/daily/weekly dropdown), similar to how the GitHub backup scheduling already works. The scheduled job creates a stateful .tar.gz snapshot of the full Bambuddy data (archive/, icons/, plate_calibration, virtual_printer/, bambuddy.db) and places the gzipped files in a separate backup folder. This backup folder can then be mounted as a Docker volume so users can point it to their NAS or any other external storage — from there they handle their own offsite backup. - Add a scheduling dropdown (hourly/daily/weekly) in the web UI, just like the GitHub backup one. - The job creates a complete .tar.gz of all stateful data at each interval. - Output the .tar.gz files to a dedicated `/backup` folder (separate from the data volume) that users can mount via Docker to their NAS or cloud storage. - Add a retention setting (e.g., keep last N backups) configurable in the web UI to prevent disk usage from growing endlessly. ### Alternatives Considered - Current Local Backup to ZIP is manual and doesn't support automated retention or web UI scheduling. - Advanced users can set up their own cron jobs and rsync/cp Docker volumes, but this is not accessible for most and not integrated. - Some users rely on host-level VM or volume snapshots, but this offers no control in-app and no per-instance backup granularity. ### Feature Category Other ### Priority Critical for my use case ### Mockups or Examples No mockups provided, but see the existing Local Backup and GitHub Backup scheduling features for reference. ### Contribution - [ ] I would be willing to help implement this feature ### Checklist - [x] I have searched existing issues to ensure this feature hasn't already been requested
BreizhHardware 2026-05-07 00:12:01 +02:00
Author
Owner

@maziggy commented on GitHub (Apr 5, 2026):

Before we commit to building this, I'd like to gauge community interest. If you'd find this feature useful, please give this issue a thumbs up (👍) reaction so we can prioritize accordingly.

<!-- gh-comment-id:4188609464 --> @maziggy commented on GitHub (Apr 5, 2026): Before we commit to building this, I'd like to gauge community interest. If you'd find this feature useful, please give this issue a thumbs up (👍) reaction so we can prioritize accordingly.
Author
Owner

@maziggy commented on GitHub (Apr 12, 2026):

Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you.

Docs -> https://wiki.bambuddy.cool/features/backup/#scheduled-local-backups


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4231502069 --> @maziggy commented on GitHub (Apr 12, 2026): Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you. Docs -> https://wiki.bambuddy.cool/features/backup/#scheduled-local-backups ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/maziggy/bambuddy) — it helps others discover the project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy-maziggy-1#605
No description provided.