Stop-VBRUnstructuredBackupFLRItemComparison

Short Description

Stops sessions that are running to compare backed-up objects with objects on production file share or object storage.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

Stop-VBRUnstructuredBackupFLRItemComparison -Item <VBRUnstructuredBackupFLRItem[]> -Session <VBRUnstructuredBackupFLRSession>  [<CommonParameters>]

Detailed Description

This cmdlet stops sessions that are running to compare backed-up objects with objects on production file share or object storage.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Item

Specifies an array of backed-up objects. The cmdlet will stop compare session for these objects.

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

True

Named

True (ByPropertyName, ByValue)

Session

Specifies restore sessions started to recover objects backed-up by file backup jobs and object storage backup jobs. The cmdlet will stop the compare session for these objects.

Accepts the VBRUnstructuredBackupFLRSession object. To create this object, run the Get-VBRUnstructuredBackupFLRSession cmdlet.

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

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

Output Object

None.

Example

Stopping Session that Compare Backed-Up Objects with Objects on Production Object Storage

This example shows how to compare attributes of backed-up objects with of objects on production object storage.

$restorepoint = Get-VBRUnstructuredBackupRestorePoint -ID "51e4eced-3fce-465b-b516-f24cb5a068a4"

$session = Start-VBRUnstructuredBackupFLRSession -RestorePoint $restorepoint[3]

$item = Get-VBRUnstructuredBackupFLRItem -Session $session

Stop-VBRUnstructuredBackupFLRItemComparison -Item $item[0,1,4,5] -Session $session

Perform the following steps:

  1. Run the Get-VBRUnstructuredBackupRestorePoint cmdlet. Specify the ID parameter value. Save the result to the $restorepoint variable.

The Get-VBRUnstructuredBackupRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the fourth restore point in the array).

  1. Run the Start-VBRUnstructuredBackupFLRSession cmdlet. Specify the RestorePoint parameter value. Save the result to the $session variable.
  2. Run the Get-VBRUnstructuredBackupFLRItem cmdlet. Specify the Session parameter value. Save the result to the $item variable.
  3. Run the Stop-VBRUnstructuredBackupFLRItemComparison cmdlet. Set the $item[0,1,4,5] variable as the Item parameter value. Set the $session variable as the Session parameter value.

Related Commands