Skip to content

Resource: proxmox_virtual_environment_replication

Warning

Deprecated: Use proxmox_replication instead. This resource will be removed in v1.0.

Manages Proxmox VE Replication.

Example Usage

# Replication
resource "proxmox_virtual_environment_replication" "example_replication_1" {
  id     = "100-0"
  target = "pve-02"
  type   = "local"

  # Optional attributes
  disable  = false
  comment  = "Replication to pve-02 every 30 min"
  schedule = "*/30"
}

Schema

Required

  • id (String) Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. '-'.
  • target (String) Target node.
  • type (String) Section type.

Optional

  • comment (String) Description.
  • disable (Boolean) Flag to disable/deactivate this replication.
  • rate (Number) Rate limit in mbps (megabytes per second) as floating point number.
  • schedule (String) Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15

Read-Only

  • guest (Number) Guest ID.
  • jobnum (Number) Unique, sequential ID assigned to each job.
  • source (String) For internal use, to detect if the guest was stolen.