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[]>] [-WarningAction <ActionPreference>] [-WarningVariable <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
  • vCloud 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

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

RestorePoint

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

True

1

True (ByValue,
ByProperty
Name)

False

Name

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

False

Named

False

True

<CommonParameters>

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

Return Type

COIBFileInfo

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. 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

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. 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

Get-VBRRestorePoint