Restoring VMs from Backup

In this article

    This command restores data for all machines or for the selected machine from the backup file.

    Syntax

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

    Parameters

    Parameter

    Description

    Required/Optional

    vm

    Name of the machine that you want to restore. Use this parameter to filter machines in the backup. If you want to restore all machines from the backup file, do not specify this parameter.

    Optional

    host

    Name of the host on which the initial machine resides. Specify this parameter to filter machines that have the same name but reside on different hosts.

    Note: This parameter must be specified if the vm parameter is used.

    Optional

    pathtobackup

    Path to the backup file from which the machine must be restored.

    Required

    password

    Password for the encrypted backup file.

    Required for encrypted backup files

    outputdir

    Path to the directory to which machine data must be restored. If this parameter is not specified, the machine will be restored to the current directory.

    Optional