November 2017
Intermediate to advanced
494 pages
14h 29m
English
In order to create a replication task through the CLI, it is very important to know that each replication task created must have a cluster-wide unique ID. When the tasks are created through the GUI, the ID gets created and assigned automatically. But when they are created through the CLI, we have to manually assign the ID. This unique job ID is node-specific only. For example, if the first node has a replication task using a job ID from 0 to 10, another node can also have unique job ID of the same sequence. The format of this ID is:
<vmid>-<integer job number>
We are going to use the pvesr command to create a replication task. The following is the command-line format to create a task:
# pvesr create-local-job ...