Get-VBRRestorePoint
Short Description
Returns restore points.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get all restore points.
Get-VBRRestorePoint [-Backup <CBackup[]>] [-Name <String[]>] [-ObjectId <Guid[]>] [<CommonParameters>] |
- Get restore points by their ID.
Get-VBRRestorePoint -Id <Guid[]> [<CommonParameters>] |
Detailed Description
This cmdlet returns restore points created by Veeam Backup & Replication.
Restore points created by replication jobs are represented as snapshots.
Restore points created by backup jobs are represented as full and increment backup files.
Important |
To get a list of restore points for a Veeam Agent job, you must provide the asterisks sign for the Name parameter value: Name "AgentJob*". Otherwise, the Get-VBRRestorePoint cmdlet will not return any restore points for the Veeam Agent job. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Id | Specifies an array of IDs of backed-up VMs. The cmdlet will return restore points of these VMs. | Guid[] | True | Named | True (ByPropertyName) |
Backup | Specifies the array of backups. The cmdlet will return restore points of these backups. | Accepts the CBackup[] object. To get this object, run the Get-VBRBackup cmdlet. | False | 0 | True (ByValue, |
Name | Specifies an array of VM names. The cmdlet will return restore points of these VMs. Note: For Cloud Director and CDP replica you must specify a vApp. | String[] | False | Named | False |
ObjectId | Specifies an array of IDs of backed-up hosts and VMs. The cmdlet will return restore points of these hosts and VMs. | Guid[] | False | Named | True ( |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the COib object that contains information on restore points created by Veeam Backup & Replication.
Examples
Example 1. Getting all Restore Points
This command looks for all restore points of all VMs registered in the database.
|
Example 2. Getting Restore Points by ID
This command looks for the 2ee79fec-9aa8-4058-a147-ff6b76ef2924 restore point.
|
Example 3. Getting Restore Points Created by Backup Job
This example shows how to get all restore points of the MSExchange02 VM that is backed up by the MSExchange backup job.
Perform the following steps:
|
Example 4. Getting Restore Points Created by Replication Job
This example shows how to get all restore points of VMs that are replicated by the DC Replica replication job.
Perform the following steps:
|
Example 5. Getting Restore Points Created by Veeam Agent
This example shows how to get all restore points of Windows-based machines backed up by the WinBackup Veeam Agent job.
Perform the following steps:
|
Example 6. Getting Latest Restore Point Created by Backup Job [Using Pipeline]
This example shows how to look for the latest restore point of VMs that are backed up by the MSExchange Backup backup job.
Perform the following steps:
|
Example 7. Getting Latest Restore Point Created by Replication Job [Using Pipeline]
This example shows how to return the latest restore point of the MSExchange02 VM that is replicated by the Replica_Exchange replication job.
Perform the following steps:
|
Related Commands