Data Source: proxmox_backup_jobs¶
Retrieves the list of cluster-wide backup jobs.
Example Usage¶
Schema¶
Read-Only¶
id(String) Unique identifier for this data source.jobs(Attributes List) List of backup jobs. (see below for nested schema)
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.exclude(List of String) List of guest VM/CT IDs excluded from the backup.id(String) Unique identifier of the backup job.mailnotification(String) When to send email notifications (alwaysorfailure). Ignored by Proxmox VE unlessmailtois set or the job uses thelegacy-sendmailnotification mode.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.