kvm.snapshot
Create a snapshot of a KVM virtual machine for a backup.
JSON-RPC Request
{"jsonrpc":"2.0","id":1,"method":"kvm.snapshot","params":{"hostname":"kvm1"}}
Request Parameters
| Argument | Type | Description | Required |
|---|---|---|---|
hostname | String | The name of the virtual machine. | Yes |
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "Creating snapshot for kvm1..."
}
RVC CLI Example
rvc kvm snapshot --hostname kvm1
Response
Creating snapshot for kvm1...
Snapshot successfully created.
Snapshot synchronization completed.