Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Remove-VBRRestorePoint

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>]

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 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 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

Related Commands

Get-VBRRestorePoint

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation