Restore-VBRNASBackupFLRItem (obsolete)

Short Description

Restores objects backed up by file backup jobs to original file shares.

Note

This cmdlet is obsolete. Run the Restore-VBRUnstructuredBackupFLRItemRestores objects backed up by file backup jobs or object storage backup jobs to original file shares or object storage. cmdlet instead.

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

Syntax

Restore-VBRNASBackupFLRItem -Item <VBRNASBackupFLRItem[]> [-Overwrite] [-RunAsync] [-ChangedItemsOnly] [<CommonParameters>]

Detailed Description

This cmdlet restores specific files and folders that have been backed up by file backup jobs. The cmdlet will restore files and folders to original file shares.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ChangedItemsOnly

Defines whether to restore changed files and folders only.

SwitchParameter

False

Named

False

Item

Specifies an array of backed-up objects. The cmdlet will restore these objects to the original file share.

VBRNASBackupFLRItem[]

True

Named

True (ByPropertyName, ByValue)

Overwrite

Defines that the cmdlet will overwrite an existing object with the restored one.

If you provide this parameter, the cmdlet will overwrite an existing object on the file share with the version of an object from a backup. Otherwise, an existing object will not be overwritten.

SwitchParameter

False

Named

False

RunAsync

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

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the VBRNASBackupFLRItem object that contains information on backed-up objects that have been restored to original file shares.

Examples

Restore-VBRNASBackupFLRItem (obsolete)Example 1. Restoring all Versions of Objects to File Share

This example shows how to restore specific versions of files and folders to the original file share. Veeam Backup & Replication will not overwrite files and folders that are already added to a file share with versions of these files and folders from a backup.

$session = Get-VBRNASBackupFLRSession

$files = Get-VBRNASBackupFLRItem -Session $session

$fileversion = Get-VBRNASBackupFLRItemVersion -Item $files

Restore-VBRNASBackupFLRItem -Item $fileversion[0]

Perform the following steps:

  1. Run the Get-VBRNASBackupFLRSessionReturns restore sessions started to recover backups created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRSession cmdlet instead. cmdlet. Save the result to the $session variable.
  2. Run the Get-VBRNASBackupFLRItemReturns backed-up objects created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRItem cmdlet instead. cmdlet. Set the $session variable as the Session parameter value. Save the result to the $files variable.
  3. Run the Get-VBRNASBackupFLRItemVersionReturns versions of objects backed-up by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRItemVersion cmdlet instead. cmdlet. Set the $files variable as the Item parameter value. Save the result to the $fileversion variable.
  4. Run the Restore-VBRNASBackupFLRItem cmdlet. Set the $fileversion[0] variable as the Item parameter value.

Restore-VBRNASBackupFLRItem (obsolete)Example 2. Restoring Specific Restore Point of Objects to File Share

This example shows how to restore files and folders to the specific restore point.Veeam Backup & Replication will overwrite files and folders that are already added to a file share with versions of these files and folders from a backup.

$restorepoint = Get-VBRNASBackupRestorePoint

$session = Start-VBRNASBackupFLRSession -RestorePoint $restorepoint[3]

Get-VBRNASBackupFLRItem -Session $session

Restore-VBRNASBackupFLRItem -Item $fileversion -Overwrite

Perform the following steps:

  1. Run the Get-VBRNASBackupRestorePointReturns restore points of backups created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupRestorePoint cmdlet instead. cmdlet. Save the result to the $restorepoint variable.
  2. Run the Start-VBRNASBackupFLRSessionStarts a restore session to explore objects backed-up by file backup jobs. This cmdlet is obsolete. Run the Start-VBRUnstructuredBackupFLRSession cmdlet instead. cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Save the result to the $session variable.
  3. Run the Get-VBRNASBackupFLRItemReturns backed-up objects created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRItem cmdlet instead. cmdlet. Set the $session variable as the Session parameter value. Save the result to the $files variable.
  4. Run the Restore-VBRNASBackupFLRItem cmdlet. Set the $fileversion variable as the Item parameter value. Provide the Overwrite parameter.
  • Get-VBRNASBackupFLRSessionReturns restore sessions started to recover backups created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRSession cmdlet instead.
  • Get-VBRNASBackupFLRItemReturns backed-up objects created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRItem cmdlet instead.
  • Get-VBRNASBackupRestorePointReturns restore points of backups created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupRestorePoint cmdlet instead.

Page updated 2026-08-19

Page content applies to build 13.1.1.18