Start-VBRLinuxGuestItemRestore

Short Description

Restores Linux-based or Unix-based guest OS files.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Start-VBRLinuxGuestItemRestore -LinuxFlrObject <VBRLinuxFlrObject> -Item <VBRFLRFsItem[]> [-TargetDirectory <String>] [-Overwrite] [-GuestCredentials <CCredentials>] [-TargetViVm <CViVmItem>] [-TargetVcdVm <CVcdVmItem>] [-TargetHvVm <CHvVmItem>] [-TargetAgentMachine <VBRDiscoveredComputer>] [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet restores Linux-based or Unix-based guest OS files to the original or new location.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

LinuxFlrObject

Specifies a restore session of Linux-based or Unix-based guest OS files. The cmdlet will use this session to restore guest OS files.

Note: The restore session must be started within the current PowerShell session.

Accepts the VBRLinuxFlrObject object. To create this object, run the Start-VBRLinuxFileRestore cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

Item

Specifies the array of files and folders that are available on disks of Linux-based or Unix-based machines. The cmdlet will restore these files and folders.

Accepts the VBRFLRFsItem[] object. To get this object, run the Get-VBRLinuxGuestItem cmdlet.

True

Named

False

TargetDirectory

Specifies the path to a folder on the target VM to which you want to restore files.

String

False

Named

False

Overwrite

Defines that the cmdlet will overwrite existing files and folders with files and folders from a backup.

If you set this parameter to the $false value, the cmdlet will not replace exiting files and folders. It will add the restored files and folders with the _restored postfix to the target machine.

SwitchParameter

True

Named

False

GuestCredentials

Specifies the credentials to authenticate against the target machine.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet.

False

Named

False

TargetViVm

For performing restore to the VMware platform.

Specifies the target machine to which the cmdlet will restore guest OS files.

Note: This parameter will work only if source machine is restored or deleted.

Accepts the CViVmItem object. To get this object, run the Find-VBRViEntity cmdlet.

False

Named

False

TargetVcdVm

For performing restore to the Cloud Director platform.

Specifies the target machine to which the cmdlet will restore guest OS files.

Note: This parameter will work only if source machine is restored or deleted.

Accepts the CVcdVmItem object. To get this object, run the Find-VBRvCloudEntity cmdlet.

False

Named

False

TargetHvVm

For performing restore to the Hyper-V platform.

Specifies the target machine to which the cmdlet will restore guest OS files.

Note: This parameter will work only if source machine is restored or deleted.

Accepts the CHvVmItem object. To get this object, run the Find-VBRHvEntity cmdlet.

False

Named

False

TargetAgentMachine

For performing restore to a Veeam Agent computer.

Specifies the target computer to which the cmdlet will restore guest OS files.

Accepts the VBRDiscoveredComputer object. To get this object, run the Get-VBRDiscoveredComputer cmdlet.

False

Named

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the CRestoreTaskSession object that contains setting of an operation that you perform to restore Linux-based or Unix-based guest OS files to the source machine.

Examples

Start-VBRLinuxGuestItemRestoreExample 1. Restoring Linux-Based or Unix-Based Guest OS Files to Original Location

Start-VBRLinuxGuestItemRestoreExample 2. Restoring Linux-Based or Unix-Based Guest OS Files to VMware Platform

Start-VBRLinuxGuestItemRestoreExample 3. Restoring Linux-Based or Unix-Based Guest OS Files to Cloud Director Platform

Start-VBRLinuxGuestItemRestoreExample 4. Restoring Linux-Based or Unix-Based Guest OS Files to Hyper-V Platform

Start-VBRLinuxGuestItemRestoreExample 5. Restoring Veeam Agent Files to Another Veeam Agent Computer

Related Commands

Page updated 12/11/2024

Page content applies to build 12.3.1.1139