Rehydrate-VBRDeletedBackupFile

Short Description

Rehydrates a backup file deleted from the capacity tier and preserved by insider protection.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Rehydrate-VBRDeletedBackupFile -BackupFile <VBRDeletedDehydratedBackupFile[]> [-RunAsync] [<CommonParameters>]

Detailed Description

This cmdlet rehydrates a backup file deleted from the capacity tier and preserved by insider protection.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

BackupFile

Specifies a list of deleted backup files you want to rehydrate.

Accepts the VBRDeletedDehydratedBackupFile object. To get this object, run the Get-VBRDeletedDehydratedBackupFile cmdlet.

True

Named

True

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

True

Named

False

Output Object

None.

Examples

Rehydrating Backup File from Capacity Tier

This command rehydrates a backup file named Company from the capacity tier.

$backupfile = Get-VBRDeletedDehydratedBackupFile -Name "Company"

Rehydrate-VBRDeletedBackupFile -BackupFile $backupfile -RunAsync

Perform the following steps:

  1. Run the Get-VBRDeletedDehydratedBackupFile cmdlet. Provide the Name parameter value. Save the result to the $backupfile variable.
  2. Run the Rehydrate-VBRDeletedBackupFile cmdlet. Set the $backupfile variable as the BackupFile parameter value. The Get-VBRDeletedDehydratedBackupFile cmdlet will return an array of deleted backup files. Mind the ordinal number of the necessary backup file (in our example, it is the first backup file in the array). Provide the RunAsync parameter.