Set-PveClusterReplication
Update replication job configuration.
API: PUT /cluster/replication/{id}, Proxmox VE API viewer
Syntax
Section titled “Syntax”Set-PveClusterReplication [-PveTicket <PveTicket>] [-Comment <string>] [-Delete <string>] [-Digest <string>] [-Disable <bool>] -Id <string> [-Rate <float>] [-RemoveJob <string>] [-Schedule <string>] [-Source <string>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Comment |
string |
No | Description. |
-Delete |
string |
No | A list of settings you want to delete. |
-Digest |
string |
No | Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications. |
-Disable |
bool |
No | Flag to disable/deactivate the entry. |
-Id |
string |
Yes | Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. ‘<GUEST>-<JOBNUM>’. |
-Rate |
float |
No | Rate limit in mbps (megabytes per second) as floating point number. |
-RemoveJob |
string |
No | Mark the replication job for removal. The job will remove all local replication snapshots. When set to ‘full’, it also tries to remove replicated volumes on the target. The job then removes itself from the configuration file. Values: local, full. |
-Schedule |
string |
No | Storage replication schedule. The format is a subset of systemd calendar events. |
-Source |
string |
No | For internal use, to detect if the guest was stolen. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.