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
|
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 |
|
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 |
|
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:
- Run the
Get-VBRBackupReturns backups. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable. - Run the
Get-VBRRestorePointReturns restore points. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$restorepointvariable. - Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Start-VBRLinuxFileRestoreStarts a restore session of Linux-based or Unix-based guest OS files. cmdlet. Set the$restorepointvariable as theRestorePointparameter value. Set the$servervariable as theMountServerparameter value. Save the result to the$sessionvariable. - Run the
Connect-VBRLinuxGuestProductionMachinecmdlet. Set the$sessionvariable as theLinuxFlrObjectparameter value.
Related Commands
Compare-VBRLinuxGuestItemsAttributesCompares attributes of Linux-based or Unix-based files and folders from a backup with attributes of original files and folders.Get-VBRBackupReturns backups.Get-VBRCredentialsReturns credentials records.Get-VBRLinuxGuestItemReturns Linux-based or Unix-based guest OS files.Get-VBRRestorePointReturns restore points.Get-VBRServerReturns hosts connected to the backup infrastructure.Start-VBRLinuxFileRestoreStarts a restore session of Linux-based or Unix-based guest OS files.