Skip to content

Data Source: proxmox_backup_jobs

Retrieves the list of cluster-wide backup jobs.

Example Usage

data "proxmox_backup_jobs" "all" {}

Schema

Read-Only

Nested Schema for jobs

Read-Only:

  • all (Boolean) Indicates whether all VMs and CTs are backed up.
  • compress (String) Compression algorithm used for the backup.
  • enabled (Boolean) Indicates whether the backup job is enabled.
  • id (String) Unique identifier of the backup job.
  • mailnotification (String) When to send email notifications (always or failure).
  • mailto (List of String) List of email addresses for notifications.
  • mode (String) Backup mode (e.g. snapshot, suspend, stop).
  • node (String) Node on which the backup job runs.
  • notes_template (String) Template for backup notes.
  • pool (String) Pool whose members are backed up.
  • protected (Boolean) Indicates whether backups created by this job are protected from pruning.
  • prune_backups (Map of String) Retention options as a map of keep policies (e.g. keep-last = "3", keep-weekly = "2").
  • schedule (String) Backup schedule in systemd calendar format.
  • storage (String) Target storage for the backup.
  • vmid (List of String) List of VM/CT IDs included in the backup job.