Make proxmox_storage a global setting instead of a per-job snapshot
CI / Frontend build (push) Successful in 11s
CI / Script syntax (push) Successful in 4s
CI / Backend tests (push) Successful in 18s

Backup jobs stored their own proxmox_storage column, copied from
settings at creation time and never resynced. process_backup preferred
that frozen job value, so changing Settings > Proxmox storage had no
effect on existing jobs. Drop the per-job column and always use the
current global setting when starting a backup.

Also copies AGENTS.md to CLAUDE.md.
This commit is contained in:
Sonnet 5
2026-07-15 12:20:44 +02:00
parent 608f13cb78
commit 1288ba731d
7 changed files with 239 additions and 17 deletions
-2
View File
@@ -50,7 +50,6 @@ class JobPayload(BaseModel):
node: str
enabled: bool = True
cron_schedule: str
proxmox_storage: str
backup_mode: str
compression: str
retention_type: str
@@ -64,7 +63,6 @@ class PartialJobPayload(BaseModel):
node: str | None = None
enabled: bool | None = None
cron_schedule: str | None = None
proxmox_storage: str | None = None
backup_mode: str | None = None
compression: str | None = None
retention_type: str | None = None