Remove-VBRRestorePoint
Short Description
Removes individual VMs from backup or replicas.
Note |
If the four-eyes authorization is enabled, you cannot run this cmdlet. For more information, see the Four-Eyes Authorization section in the User Guide for VMware vSphere. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRRestorePoint -Oib <COib[]> [-Name <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes backup of a selected VMs or replicas.
The backup is removed from disk. If you remove a replica, the replicated VM is removed from infrastructure.
If you need to remove replicated VM, run the Remove-VBRReplica cmdlet.
Important |
This cmdlet removes all restore points of the selected VMs or replicas. Keep in mind that the subsequent backup jobs may fail to produce valid backup after you run this cmdlet. |
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Oib | Specifies the array of VM restore points. The cmdlet will use these restore point to locate the VMs and remove the backups of these VMs. | Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet. [For restore points from archive extents and capacity extents] Accepts the VBRSOBRObjectStorageRestorePoint object. To get this object, run the Get-VBRSOBRObjectStorageRestorePoint cmdlet.
| True | 0 | True (ByProperty |
Name | This parameter is legacy and not supported. | String[] | False | Named | False |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet displays a prompt that asks if the user is sure that they want to continue. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Removing Restore Points of Certain VM
This example shows how to remove restore points of the Webserver03 VM.
Perform the following steps:
|
Example 2. Removing Restore Points from Capacity Extent
This example shows how to remove backup of the Webserver03 VM from the capacity extent. The Confirm prompt is disabled.
Perform the following steps:
|
Example 3. Removing Restore Points from Archive Extent
This example shows how to remove backup of the Webserver03 VM from the archive extent.
Perform the following steps:
|
Related Commands