kvm.snapshot-sync

kvm.snapshot-sync

Sync snapshots in a cluster, from the active node to the passive node.

JSON-RPC Request

{"jsonrpc":"2.0","id":1,"method":"kvm.snapshot_sync","params":{"hostname":"kvm1"}}

Request Parameters

ArgumentTypeDescriptionRequired
hostnameStringThe name of the virtual machine.Yes

JSON-RPC Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "Syncing snapshots for kvm1...\nSnapshots for kvm1 successfully synced."
}

RVC CLI Example

rvc kvm snapshot-sync --hostname kvm1

Response

Syncing snapshots for kvm1...
Snapshots for kvm1 successfully synced.