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, Veeam Universal License

    Syntax

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

    Detailed Description

    This cmdlet removes backup of a selected VMs 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

    COib

    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.

    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 on common parameters, see the About CommonParameters section of Microsoft Docs.

    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.

    $backup = Get-VBRBackup -Name "Webservers Backup Job"

    $vm = Get-VBRRestorePoint -Backup $backup -Name "Webserver03"

    Remove-VBRRestorePoint -Oib $vm

    Related Commands

    Get-VBRRestorePoint