Compare-VBRUnstructuredBackupFLRItemAttributes
Short Description
Compares attributes of backed-up objects with objects on production file share or object storage.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Compare-VBRUnstructuredBackupFLRItemAttributes -Session <VBRUnstructuredBackupFLRSession> -Item <VBRUnstructuredBackupFLRItem[]> [<CommonParameters>] |
Detailed Description
This cmdlet compares attributes of backed-up objects with objects on production file share or object storage.
Important |
|
The cmdlet compares only backup files recovered to a certain restore point. You can not compare all versions of backup files. To recover files to a certain restore point, run the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Item |
Specifies an array of backed-up objects which attributes you want to compare with objects on production file share or object storage.
Accepts the |
|
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 compare attributes of the objects restored within this session with objects on production file share or object storage.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRUnstructuredBackupFLRItemAttributes object that returns information on compare state and attributes of backed-up objects with objects on production file share or object storage.
Examples
Comparing Attributes of Backed-Up Objects with Attributes of Objects on Production Object Storage
This example shows how to compare attributes of backed-up objects with attributes 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 Compare-VBRUnstructuredBackupFLRItemAttributes -Item $item[0,1,4,5] -Session $session |
Perform the following steps:
- Run the
Get-VBRUnstructuredBackupRestorePointReturns restore points created by file backup jobs and object storage backup jobs. cmdlet. Specify theIDparameter value. Save the result to the$restorepointvariable.The
Get-VBRUnstructuredBackupRestorePointcmdlet 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). - Run the
Start-VBRUnstructuredBackupFLRSessionStarts a restore session to explore objects backed-up by file backup jobs and object storage backup jobs. cmdlet. Set the$restorepoint[3]variable as theRestorePointparameter value. Save the result to the$sessionvariable. - Run the
Get-VBRUnstructuredBackupFLRItemReturns backed-up objects created by file backup jobs or object storage backup jobs. cmdlet. Set the$sessionvariable as theSessionparameter value. Save the result to the$itemvariable. - Run the
Compare-VBRUnstructuredBackupFLRItemAttributescmdlet. Set the$item[0,1,4,5]variable as theItemparameter value. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.Start-VBRUnstructuredBackupFLRSessionStarts a restore session to explore objects backed-up by file backup jobs and object storage backup jobs.Get-VBRUnstructuredBackupFLRItemReturns backed-up objects created by file backup jobs or object storage backup jobs.