Skip to Content
Mastering Proxmox - Third Edition
book

Mastering Proxmox - Third Edition

by Wasim Ahmed
November 2017
Intermediate to advanced
494 pages
14h 29m
English
Packt Publishing
Content preview from Mastering Proxmox - Third Edition

Creating a replication task through the CLI

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
Mastering KVM Virtualization - Second Edition

Mastering KVM Virtualization - Second Edition

Vedran Dakic, Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Publisher Resources

ISBN: 9781788397605Other