Restoring VMs from Backup
This command restores files for all VMs or for the selected VM(s) from the backup file.
Syntax
Parameters
Parameter | Description | Required/Optional |
vm | Name of a VM that you want to restore. Use this parameter to filter VMs in the backup. If you want to restore all VMs from the backup file, do not specify this parameter. | Optional |
host | Name of the host on which the initial VM resides. This parameter should be specified if the vm parameter is used. | Optional |
pathtovbk | Path to the backup file from which the VM should be restored. | Required |
password | Password for the encrypted backup file. | Required for encrypted backup files |
outputdir | Path to the directory to which the VM files should be restored. If this parameter is not specified, the VM will be restored to the current directory. | Optional |