Remove-VBRBackupFile
Short Description
Removes missing backup files from the Veeam Backup & Replication configuration database.
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. |
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
BackupFile (Default)Remove-VBRBackupFile -BackupFile <VBRBackupFile> [-FromDisk] [-WhatIf]
[-Confirm] [<CommonParameters>]
-
BackupRemove-VBRBackupFile -Backup <CBackup> [-FromDisk] [-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet removes missing backup files from the Veeam Backup & Replication configuration database.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Backup |
Specifies a backup from which you want to remove missing backup files.
Accepts the |
|
True |
Named |
False |
|
BackupFile |
Specifies a missing backup file that you want to remove.
Accepts the |
True |
Named |
False |
|
|
FromDisk |
Defines that the cmdlet will remove the missing backup files from the configuration database and from disk (if these backup files are still available). If you do not provide this parameter, the cmdlet will remove missing backup files from the configuration database only. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
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. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Removing Missing Backup File
|
This example shows how to remove a missing backup file and all backup files related to it from Veeam Backup & Replication configuration database.
Perform the following steps:
|
Example 2. Removing all Missing Backup Files from Backup
|
This example shows how to remove all backup files that are missing from a backup. The cmdlet will remove the files from the configuration database and from disk.
Perform the following steps:
|
Related Commands
Get-VBRBackupReturns backups.Get-VBRBackupFileReturns backup files.