Add spool inventory and print archive backup to GitHub backup (#870)

GitHub backup can now optionally include spool inventory (with usage
  history) and print archive metadata as JSON. Both toggles are off by
  default. No binary files (gcode/3MF) are included.
This commit is contained in:
maziggy
2026-04-02 09:59:00 +02:00
parent ad96337587
commit f4df4393be
19 changed files with 393 additions and 67 deletions
+2
View File
@@ -27,6 +27,8 @@ class GitHubBackupConfig(Base):
backup_kprofiles: Mapped[bool] = mapped_column(Boolean, default=True)
backup_cloud_profiles: Mapped[bool] = mapped_column(Boolean, default=True)
backup_settings: Mapped[bool] = mapped_column(Boolean, default=False)
backup_spools: Mapped[bool] = mapped_column(Boolean, default=False)
backup_archives: Mapped[bool] = mapped_column(Boolean, default=False)
# Status tracking
enabled: Mapped[bool] = mapped_column(Boolean, default=True)