Get-VBRNASBackupFLRItemVersion

Short Description

Returns versions of objects backed-up by file backup jobs.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides parameter sets that allow you to:

  • Getting all versions of objects.

Get-VBRNASBackupFLRItemVersion -Item <VBRNASBackupFLRItem>  [<CommonParameters>]

  • Getting versions of objects by the object modification date.

Get-VBRNASBackupFLRItemVersion -Item <VBRNASBackupFLRItem> [-ModificationDate <datetime>]  [<CommonParameters>]

  • Getting versions of objects by the object version ID.

Get-VBRNASBackupFLRItemVersion -Item <VBRNASBackupFLRItem> [-VersionId <uint64>]  [<CommonParameters>]

Detailed Description

This cmdlet returns versions of objects backed-up by file backup jobs.

Get-VBRNASBackupFLRItemVersion Important!

This cmdlet runs only with file-level restore sessions that are created to restore all versions of backups on file shares.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Item

Specifies an object. The cmdlet will return versions of this object.

Accepts the VBRNASBackupFLR Item object. To get this object, run the Get-VBRNASBackupFLRItem cmdlet.

True

Named

False

 

ModificationDate

Specifies the date when the object was modified. The cmdlet will return versions of objects that were modified on the specified date.

DateTime

False

Named

False

 

VersionId

Specifies a version ID of the object. The cmdlet will return objects with the specified version ID.

Uint64

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRNASBackupFLRItem and VBRNASBackupFLRFolder objects that contain details about versions of restored guest OS files and folders that have been backed up by file backup jobs.

Examples

Get-VBRNASBackupFLRItemVersionExample 1. Getting all Versions of Object

This example shows how to get all versions of an object backed-up by a file backup job.

$session = Get-VBRNASBackupFLRSession

$object = Get-VBRNASBackupFLRItem -Session $session

Get-VBRNASBackupFLRItemVersion -Item $object

Perform the following steps:

  1. Run the Get-VBRNASBackupFLRSession cmdlet. Save the result to the $session variable.
  2. Run the Get-VBRNASBackupFLRItem cmdlet. Set the $session variable as the Session parameter value. Save the result to the $object variable.
  3. Run the Get-VBRNASBackupFLRItemVersion cmdlet. Set the $object variable as the Item parameter value.

Get-VBRNASBackupFLRItemVersionExample 2. Getting Versions of Objects by Modification Date

This example shows how to get versions of an object by the object modification date. Veeam Backup & Replication will return objects that have been modified on 9/9/2019.

$session = Get-VBRNASBackupFLRSession

$object = Get-VBRNASBackupFLRItem -Session $session

Get-VBRNASBackupFLRItemVersion -Item $object -ModificationDate "9/9/2019"

Perform the following steps:

  1. Run the Get-VBRNASBackupFLRSession cmdlet. Save the result to the $session variable.
  2. Run the Get-VBRNASBackupFLRItem cmdlet. Set the $session variable as the Session parameter value. Save the result to the $object variable.
  3. Run the Get-VBRNASBackupFLRItemVersion cmdlet. Set the $object variable as the Item parameter value. Specify the ModificationDate parameter value.

Get-VBRNASBackupFLRItemVersionExample 3. Getting Versions of Objects by Version ID

This example shows how to get a version of an object by the object version ID. Veeam Backup & Replication will return an object with the 9 version ID.

$session = Get-VBRNASBackupFLRSession

$object = Get-VBRNASBackupFLRItem -Session $session

Get-VBRNASBackupFLRItemVersion -Item $object -VersionId 9

Perform the following steps:

  1. Run the Get-VBRNASBackupFLRSession cmdlet. Save the result to the $session variable.
  2. Run the Get-VBRNASBackupFLRItem cmdlet. Set the $session variable as the Session parameter value. Save the result to the $object variable.
  3. Run the Get-VBRNASBackupFLRItemVersion cmdlet. Set the $object variable as the Item parameter value. Specify the VersionId parameter value.

Related Commands

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.