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>] |
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 Veeam Agent backup jobs for Windows computers.
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 array of backups. The cmdlet will return restore points of these backups. | False | 1 | True (ByValue, | False |
Name | Specifies the array of VM names. The cmdlet will return restore points of these VMs. | 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 –Property 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 |
Related Commands