This is an archive version of the document. To get the most up-to-date information, see the current version.

Remove-VBRRestorePoint

In this article

    Short Description

    Removes individual VMs from backup or replicas.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Remove-VBRRestorePoint [-Oib] <COib[]> [-Name <string[]>] [-WhatIf] [-Confirm]  [<CommonParameters>]

    Related Commands

    Get-VBRRestorePoint

    Detailed Description

    This cmdlet removes backup of a selected VM(s) or replica.

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

    Remove-VBRRestorePoint Important!

    This cmdlet removes all restore points of the selected VMs or replicas. You should run removal procedures carefully considering the subsequent backup jobs that may fail to produce valid backup.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Oib

    Specifies the restore point of the VM. The cmdlet will use this restore point to find data related to this VM and remove it.

    You can assign multiple restore point to this object.

    True

    1

    True (ByValue,
    ByProperty
    Name)

    False

    Name

    This  parameter is legacy and not supported.

    False

    Named

    False

    True

    WhatIf

    Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

    False

    Named

    False

    False

    Confirm

    Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example

    This command removes backup of VM named "Webserver03".

    1. Run Get-VBRBackup to get the backup containing this VM. Save it to the $backup variable.
    2. Run Get-VBRRestorePoint to get the Webserver03. Save it to the $vm variable.
    3. Run Remove-VBRRestorePoint with the $vm variable.

    PS C:\PS> $backup = Get-VBRBackup -Name "Webservers Backup Job"

    PS C:\PS> $vm = Get-VBRRestorePoint -Backup $backup -Name "Webserver03"

    PS C:\PS> Remove-VBRRestorePoint -Oib $vm