Stop-VBRLinuxFileRestore

Short Description

Stops Linux-based or Unix-based guest OS files restore.

Applies to

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

Syntax

Stop-VBRLinuxFileRestore -LinuxFlrObject <VBRLinuxFlrObject> [-WarningAction <ActionPreference>] [-WarningVariable <String>]  [<CommonParameters>]

Detailed Description

This cmdlet stops Linux-based or Unix-based guest OS file restore process started with the Start-VBRLinuxFileRestore cmdlet.

When you stop the OS file restore, Veeam Backup & Replication unmounts virtual disks and powers the proxy appliance off.

Note

Note that you cannot restore files after the disks are unmounted.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

LinuxFlrObject

Specifies the Linux file restore process initiated by  that you want to stop.

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

True

Named

True (ByValue,
ByProperty
Name)

<CommonParameters>

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

Output Object

None.

Examples

Stopping Linux-Based Guest OS File Restore

This example shows how to stop a restore session of Linux or Unix-based guest OS files of the UbuntuSrv machine.

$backup = Get-VBRBackup -Name "UbuntuSrv"

$restorepoint = Get-VBRRestorePoint -Backup $backup

$server = Get-VBRServer -Name "ESXi01"

$resoursepool = Find-VBRViResourcePool -Server $server -Name "Servers"

$session = Start-VBRLinuxFileRestore -RestorePoint $restorepoint -Server $server -ResourcePool $resoursepool

Stop-VBRLinuxFileRestore -LinuxFlrObject $session

Perform the following steps:

  1. Start a restore session.
  • Run the Get-VBRBackup cmdlet. Specify the Name parameter value. Save the result to the $backup variable
  • Run the Get-VBRRestorePoint cmdlet. Set the $backup variable the Backup parameter value. Save the result to the $restorepoint variable.
  • Run the Get-VBRServer cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  • Run the Find-VBRViResourcePool cmdlet. Set the $server variable the Server parameter value. Specify the Name parameter values. Save the result to the $resoursepool variable.
  • Run the Start-VBRLinuxFileRestore cmdlet. Set the RestorePoint variable the RestorePoint parameter value. Set the $server variable the Server parameter value. Set the $resoursepool variable the ResourcePool parameter value. Save the result to the $session variable.
  1. Run the Stop-VBRLinuxFileRestore cmdlet. Set the $session variable as the LinuxFlrObject parameter value.

Related Commands