--- title: "Connect-VBRLinuxGuestProductionMachine" 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-VBRLinuxGuestItemsAttributes cmdlet or the CompareWithOriginal..." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/connect-vbrlinuxguestproductionmachine.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Data Recovery > Guest OS File Recovery > Connect-VBRLinuxGuestProductionMachine" dateModified: "2026-10-21" --- # 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 [-Credentials ] [] ``` ## 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-VBRLinuxGuestItemsAttributes`](compare-vbrlinuxguestitemsattributes.md) cmdlet or the `CompareWithOriginal` parameter of the [`Get-VBRLinuxGuestItem`](get-vbrlinuxguestitem.md) cmdlet. ## 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-VBRCredentials 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-VBRLinuxFileRestore cmdlet.

VBRLinuxFlrObject

True

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### 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-VBRBackup`](get-vbrbackup.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$backup` variable. 2. Run the [`Get-VBRRestorePoint`](get-vbrrestorepoint.md) cmdlet. Set the `$backup` variable as the `Backup` parameter value. Save the result to the `$restorepoint` variable. 3. Run the [`Get-VBRServer`](get-vbrserver.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$server` variable. 4. Run the [`Start-VBRLinuxFileRestore`](start-vbrlinuxfilerestore.md) 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. ::: ## Related Commands - [`Compare-VBRLinuxGuestItemsAttributes`](compare-vbrlinuxguestitemsattributes.md) - [`Get-VBRBackup`](get-vbrbackup.md) - [`Get-VBRCredentials`](get-vbrcredentials.md) - [`Get-VBRLinuxGuestItem`](get-vbrlinuxguestitem.md) - [`Get-VBRRestorePoint`](get-vbrrestorepoint.md) - [`Get-VBRServer`](get-vbrserver.md) - [`Start-VBRLinuxFileRestore`](start-vbrlinuxfilerestore.md)