Get-VBRFilesInRestorePoint

Short Description

Returns backup files in a selected restore point.

Applies to

Platform: VMware

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

Syntax

Get-VBRFilesInRestorePoint -RestorePoint <COib> [-Name <String[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns backup files in a selected restore point.

With this cmdlet, you can get files in restore points created by the following types of jobs:

  • Backup jobs
  • Backup copy jobs
  • Cloud Director backup jobs
  • Veeam Agent for Microsoft Windows backup jobs (only volume level backups)

You can get the list of all files in a selected restore point or look for instances directly by name.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

RestorePoint

Specifies the restore points for which you want to get the list of backup files.

Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet.

True

0

True (ByProperty
Name, ByValue)

Name

Specifies the array of names of backup files you want to get.

String[]

False

Named

False

<CommonParameters>

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

Output Object

The cmdlet returns the COIBFileInfo that contains backup files in a selected restore point.

Examples

Get-VBRFilesInRestorePointExample 1. Getting List of all Backup Files from Restore Point

This example shows how to get a list of files that are added to the Webservices01 restore point.

$restorepoint = Get-VBRRestorePoint -Name "Webservices01"

Get-VBRFilesInRestorePoint -RestorePoint $restorepoint

Perform the following steps:

  1. Run the Get-VBRRestorePoint cmdlet. Specify the Name parameter value. Save the result to the $restorepoint variable.
  2. Run the Get-VBRFilesInRestorePoint cmdlet. Set the $restorepoint variable as the RestorePoint parameter value.

Get-VBRFilesInRestorePointExample 2. Getting List of Backup Files from Latest Restore Point [Using Pipeline]

This example shows how to get the list of files in the last restore point of the Webservices01 backup.

$restorepoint = Get-VBRRestorePoint -Name "Webservices01" | Select-Object -Last 1

Get-VBRFilesInRestorePoint -RestorePoint $restorepoint

Perform the following steps:

  1. Run the Get-VBRRestorePoint cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Select-Object cmdlet. Specify the Last parameter value. Save the result to the $restorepoint variable.
  1. Run the Get-VBRFilesInRestorePoint cmdlet. Set the $restorepoint variable as the RestorePoint parameter value.

Related Commands

Page updated 4/24/2024

Page content applies to build 12.3.0.310