Pcornel
Automation · Proxmox Automation

Backup Automation

Cheat sheet · https://pcornel.dk/topic.php?topic=5727

Back to the Topic

Answer

Proxmox backup automation schedules vzdump jobs or Proxmox Backup Server jobs with retention, verify and prune settings, and checks job results through the API or notifications.

Remember

  • Use vzdump jobs or Proxmox Backup Server.
  • Set retention and verification.
  • Check job results.

First checks

  • pvesh get /cluster/backup — backup jobs
  • pvesh create /cluster/backup --schedule 'daily 02:00' --storage <pbs> --all 1 — create job
  • Backup coverage of new VMs — completeness

Verify in this order

automation → backup job → PBS → verify

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5727

Confirmation

Confirm action

Continue?