This is an archive version of the document. To get the most up-to-date information, see the current version.

Restoring VMs from Backup

In this article

    This command restores files for all VMs or for the selected VM(s) from the backup file.

    Syntax

    extract.exe -restore [-vm vmname] [-host hostname] -password backupkey pathtovbk [outputdir]

    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.
    Use this parameter to filter VMs that have the same name but reside on different hosts.

    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