diff --git a/backend/app/schemas/github_backup.py b/backend/app/schemas/github_backup.py index b66011b21..e78c1dc1b 100644 --- a/backend/app/schemas/github_backup.py +++ b/backend/app/schemas/github_backup.py @@ -218,10 +218,10 @@ REF_PATTERN = r"^(?:HEAD|[0-9a-fA-F]{7,40})$" class RestoreCategory(StrEnum): """Backup categories that can be restored. - Cloud profiles are deliberately absent: the backup collector never actually - writes ``cloud_profiles/*.json`` (it reads a "setting" list key the Bambu - Cloud API does not return), and the preset list it would collect carries no - setting payload to restore from. Tracked separately from #2656. + Cloud profiles are deliberately absent: restoring a preset means writing to + a Bambu or Orca Cloud account, which is a different operation from every + other category here — those land in the local database, or on a printer the + instance already owns. Tracked separately from #2656. """ KPROFILES = "kprofiles" diff --git a/backend/app/services/github_restore.py b/backend/app/services/github_restore.py index d3a05c7d0..57a1ffe47 100644 --- a/backend/app/services/github_restore.py +++ b/backend/app/services/github_restore.py @@ -23,9 +23,12 @@ Design notes worth knowing before editing: * **Categories are applied archives -> spools -> settings -> kprofiles.** Archives first because spool usage history references ``archive_id``; K-profiles last because they leave the database and talk to hardware. -* **Cloud profiles are not restorable.** The backup collector never actually - writes ``cloud_profiles/*.json``, and the preset list it would write carries - no setting payload. Tracked separately from #2656. +* **Cloud profiles are not restorable.** Restoring a preset means writing to a + Bambu or Orca Cloud account, which is a different operation from everything + else here — every other category lands in the local database or, for + K-profiles, on a printer the instance already owns. Tracked separately from + #2656. (The collector does write ``cloud_profiles/*.json`` as of #2717; the + earlier claim that it did not is no longer true.) """ import asyncio