Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modules/virt-restoring-vm-from-snapshot-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ You can restore an existing virtual machine (VM) to a previous configuration by
** `StopTarget` - If the VM is not ready, it gets stopped, and the restore process starts.
** `WaitGracePeriod 5` - The restore process waits for a set amount of time, in minutes, for the VM to be ready. This is the default setting, with the default value set to 5 minutes.
** `WaitEventually` - The restore process waits indefinitely for the VM to be ready.
* Optional: To control how restored persistent volume claims (PVCs) are named, you can set the `volumeRestorePolicy` parameter to one of the following values:
** `PrefixTargetName` - The restored PVC names use the target VM name as a prefix: `<vm_name>-<volume_name>`. This is the default setting.
** `RandomizeNames` - The restored PVC names are randomly generated: `restore-<uid>-<volume_name>`.
** `InPlace` - The restored PVCs overwrite the original PVCs. The original PVCs are deleted if they exist, and new PVCs are created with the same names.

.Procedure

Expand Down