# receipts evidence 018 # kind: formatted # represents: restore_container_backup tried live on 2026-11-09/10, condensed by Claude Code from the session output to the config keys that matter (not re-run): a restore keeps the backup's config and accepts unique, force with smaller disks works, and the guard refuses another guest's disk # name: restore-session # at: 2026-11-12T13:19:23Z # source: Claude Code session, 2026-11-09/10 # --- # Copied from the Claude Code session of 2026-11-09/10 (UTC), in which restore_container_backup # (v2.12.0) was tried on the author's lab. Not re-run for this study. A backup of the author's # CT 103 was restored as throwaway CT 113, which was deleted afterwards. Only the configuration # keys that matter here are shown; the restored description (which contains a lab address) is left out. # 1. Plain restore with unique=true. Before 2.12 the tool never sent restore=1, so Proxmox treated # the backup as a template and refused unique. The restored config keeps the backup's settings: restore_container_backup {"node": "pve01", "vmid": 113, "ostemplate": "local:backup/vzdump-lxc-103-...tar.zst", "storage": "local-lvm", "unique": true, "hostname": "pdm-restore-test", "wait": true} task: exitstatus OK get_container_config 113: features: nesting=1 tags: lab;pdm onboot: 1 cores: 2 memory: 2048 net0: name=eth0,bridge=vmbr1,hwaddr=BC:24:11:9A:92:74,ip=dhcp,type=veth (CT 103 has hwaddr BC:24:11:C1:0A:96) rootfs: local-lvm:vm-113-disk-0,size=16G # 2. Restore again over CT 113 with force, a smaller root disk and a new mount point: restore_container_backup {... "force": true, "unique": true, "rootfs": "local-lvm:8", "mp0": "local-lvm:1,mp=/data", "wait": true} task: exitstatus OK get_container_config 113: rootfs: local-lvm:vm-113-disk-1,size=8G mp0: local-lvm:vm-113-disk-2,mp=/data,size=1G features: nesting=1 tags: lab;pdm # 3. The guard, with PROXMOX_PROTECTED_VMIDS=104,105: restore_container_backup {... "rootfs": "local-lvm:8", "mp0": "local-lvm:vm-104-disk-1,mp=/stolen"} {"error":"Refusing restore_container_backup: guest 104 is protected (PROXMOX_PROTECTED_VMIDS)"} restore_container_backup {... "mp0": "local-lvm:1,mp=/data"} (no rootfs) {"error":"mp0 need rootfs: with any mount point given, Proxmox creates only the disks you list"}