Connect-VBRLinuxGuestProductionMachine

Short Description

Connects to the Linux-based or Unix-based machine where original files and folders reside.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Connect-VBRLinuxGuestProductionMachine -LinuxFlrObject <VBRLinuxFlrObject>

[-Credentials <CInternalCredentials>] [<CommonParameters>]

Detailed Description

This cmdlet connects to the Linux-based or Unix-based machine where original files and folders reside. You must run this cmdlet before comparing files and folders using the Compare-VBRLinuxGuestItemsAttributesCompares attributes of Linux-based or Unix-based files and folders from a backup with attributes of original files and folders. cmdlet or the CompareWithOriginal parameter of the Get-VBRLinuxGuestItemReturns Linux-based or Unix-based guest OS files. cmdlet.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Credentials

Specifies credentials for the original machine.

Note: If you do not specify credentials, the cmdlet will try to use the credentials that are saved for the original machine.

Accepts the CInternalCredentials object. To get this object, run the Get-VBRCredentialsReturns credentials records. cmdlet.

CInternalCredentials

False

Named

False

LinuxFlrObject

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

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

Accepts the VBRLinuxFlrObject object. To create this object, run the Start-VBRLinuxFileRestoreStarts a restore session of Linux-based or Unix-based guest OS files. cmdlet.

VBRLinuxFlrObject

True

Named

False

<CommonParameters>

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

Examples

Connecting to Machine Where Files to Restore Reside

This example shows how to connect to a machine whose files you restore.

$backup = Get-VBRBackup -Name "UbuntuSrv"

$restorepoint = Get-VBRRestorePoint -Backup $backup

$server = Get-VBRServer -Name "LinSrv05"

$session = Start-VBRLinuxFileRestore -RestorePoint $restorepoint -MountServer $server

Connect-VBRLinuxGuestProductionMachine -LinuxFlrObject $session

Perform the following steps:

  1. Run the Get-VBRBackupReturns backups. cmdlet. Specify the Name parameter value. Save the result to the $backup variable.
  2. Run the Get-VBRRestorePointReturns restore points. cmdlet. Set the $backup variable as the Backup parameter value. Save the result to the $restorepoint variable.
  3. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  4. Run the Start-VBRLinuxFileRestoreStarts a restore session of Linux-based or Unix-based guest OS files. cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Set the $server variable as the MountServer parameter value. Save the result to the $session variable.
  5. Run the Connect-VBRLinuxGuestProductionMachine cmdlet. Set the $session variable as the LinuxFlrObject parameter value.

Page updated 2026-10-21

Page content applies to build 13.2.0.193