pctl restore
Restores a virtual machine from a backup.
Syntax
pctl restore
{{
vm_id
|
vm_name
} |
-t
,
--tag
backup_id
}
[
-s
,
--storage
user
[[
:
passwd
]
@
server
[
:
port
]]
[
-n
,
--name
new_name
]
Parameters
Name
|
Description
|
vm_id
|
vm_name
|
The UUID or the name of the virtual machine. If this option is specified, the command will restore it from the latest available backup. To restore a virtual machine from a specific backup, omit this option and specify the backup ID using the
--tag
option (described below).
|
-t,--tag
backup_id
|
The backup ID from which to restore a virtual machine.
|
-s,--storage
|
The backup server connection and login parameters. If this option is omitted, the backups will be searched for on the default backup server. The default backup server can be configured using the
prlsrvctl set
command.
|
user
|
The name of the backup server user.
|
passwd
|
The user password.
|
server
|
The backup server hostname or IP address.
|
port
|
Port number. If omitted, the default port will be used.
|
-n, --name
new_name
|
A new name to assign to the restored virtual machine. If omitted, the virtual machine will be restored with the original name.
|
Links
General Syntax
,
Legend
|