Get-VBRRestorePoint
Short Description
Returns restore points.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Get-VBRRestorePoint [[-Backup] <CBackup[]>] [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet returns restore points stored in Veeam Backup & Replication database.
With this cmdlet, you can get restore points created by all types of jobs: backup jobs, backup copy jobs, replication jobs, vCD jobs and Endpoint backup jobs.
You can get the list of restore points of all VMs managed by Veeam Backup & Replication, or get the restore points for a specific backup or for a specific VM.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Backup | Specifies the backup. The cmdlet will return available restore points of this backup. You can assign multiple backups to this object. | False | 1 | True (ByValue, | False |
Name | Specifies the name of the VM. The cmdlet will return available restore points of this VM. You can specify multiple names separated by commas. | False | Named | False | True |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command looks for all restore points of all VMs registered in the database.
PS C:\PS> Get-VBRRestorePoint |
Example 2
This command looks for all restore points of a VM named "MSExchange02" in the backup named "MSExchange Backup". The backup is obtained with Get-VBRBackup and piped down.
PS C:\PS> Get-VBRBackup -Name "MSExchange Backup" | Get-VBRRestorePoint -Name *MSExchange02* |
Example 3
This command looks for the latest restore point of a VM named "MSExchange02" in the backup named "MSExchange Backup". The backup is obtained with Get-VBRBackup and piped down. The restore points of the VM are filtered with Sort-Object method by the "CreationTime" property to get the most recent one.
PS C:\PS> Get-VBRBackup -Name "MSExchange Backup" | Get-VBRRestorePoint -Name *MSExchange02* | Sort-Object $_.creationtime -Descending | Select -First 1 |
Example 4
This command looks for all restore points of the backup represented by the variable $backup. The backup to look the restore points in is obtained with Get-VBRBackup and assigned to the variable beforehand.
PS C:\PS> Get-VBRRestorePoint -Backup $backup |