Save-VBRUnstructuredBackupFLRItem

Short Description

Restores objects backed up by file backup jobs or object storage backup jobs to the specified file shares or object storage.

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

Syntax

Save-VBRUnstructuredBackupFLRItem -Item <VBRUnstructuredBackupFLRItem[]> [-PreservePermissions]

-Server <VBRUnstructuredServer> -Path <String> [-RunAsync]

[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-Force] [<CommonParameters>]

Detailed Description

This cmdlet restores objects backed up by file backup jobs or object storage backup jobs to the specified file shares or object storage.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Force

Defines that the cmdlet will restore unstructured data backups without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

Item

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

VBRUnstructuredBackupFLRItem[]

True

Named

True (ByPropertyName, ByValue)

Path

Specifies one of the location:

  • [For file shares] a path to the folder.
  • [For object storage] a bucket, a container and prefixes inside the bucket or a container.

The cmdlet will restore the backed-up object to that location.

String

True

Named

False

PreservePermissions

Defines that the cmdlet will restore permissions and security attributes of objects that you want to save.

If you provide this parameter, the cmdlet will restore backup files with security attributes and permissions set by the user. Otherwise, permissions and security attributes of restored backups will not be recovered.

SwitchParameter

False

Named

False

RetrievalSettings

Specifies the retrieval policy settings. The cmdlet will use these settings to retrieve data from archive object storage repositories.

Note: If you do not provide this parameter, the cmdlet will prompt you to use the default retrieval policy settings.

Accepts the VBRUnstructuredBackupColdStorageRetrievalSettings object. To create this object, run the New-VBRUnstructuredBackupColdStorageRetrievalSettings cmdlet.

VBRUnstructuredBackupColdStorageRetrievalSettings

False

Named

False

RunAsync

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

SwitchParameter

False

Named

False

Server

Specifies a file share or object storage. The cmdlet will restore the backed-up object to this file share or object storage.

Accepts the VBRUnstructuredServer object. To get this object, run the Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet.

VBRUnstructuredServer

True

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 VBRUnstructuredBackupFLRItem object that contain settings of restored guest OS files and folders that have been backed up by file backup jobs or object storage backup jobs.

Examples

Save-VBRUnstructuredBackupFLRItemExample 1. Restoring All Objects to File Shares

This example shows how to restore all backed-up files and folders to the \\WinSrv\Reports file share. Veeam Backup & Replication will save files and folders to the \\WinSrv\Reports\Restored folder on the file share.

$restorepoint = Get-VBRUnstructuredBackupRestorePoint

$session = Start-VBRUnstructuredBackupFLRSession -RestorePoint $restorepoint

$fileshare = Get-VBRUnstructuredServer -Name "\\WinSrv\Reports"

$file = Get-VBRUnstructuredBackupFLRItem -Session $session

Save-VBRUnstructuredBackupFLRItem -Item $file -Server $fileshare -Path "\\WinSrv\Reports\Restored"

Perform the following steps:

  1. Run the Get-VBRUnstructuredBackupRestorePointReturns restore points created by file backup jobs and object storage backup jobs. cmdlet. Save the result to the $restorepoint variable.
  2. Run the Start-VBRUnstructuredBackupFLRSessionStarts a restore session to explore objects backed-up by file backup jobs and object storage backup jobs. cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Save the result to the $session variable.
  3. Run the Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet. Specify the Name parameter value. Save the result to the $fileshare variable.
  4. Run the Get-VBRUnstructuredBackupFLRItemReturns backed-up objects created by file backup jobs or object storage backup jobs. cmdlet. Set the $session variable as the Session parameter value. Save the result to the $file variable.
  5. Run the Save-VBRUnstructuredBackupFLRItem cmdlet. Specify the following settings:
    • Set the $file variable as the Item parameter value.
    • Set the $fileshare variable as the Server parameter value.
    • Specify the Path parameter value.

Save-VBRUnstructuredBackupFLRItemExample 2. Restoring Specific Folder to File Shares

This example shows how to restore the October Reports folder to the \\WinSrv\Reports file share. Veeam Backup & Replication will save files and folders to the \\WinSrv\Reports\Restored folder on the file share.

$restorepoint = Get-VBRUnstructuredBackupRestorePoint

$session = Start-VBRUnstructuredBackupFLRSession -RestorePoint $restorepoint

$fileshare = Get-VBRUnstructuredServer -Name "\\WinSrv\Reports"

$files = Get-VBRUnstructuredBackupFLRItem -Session $session -Name "October Reports"

Save-VBRUnstructuredBackupFLRItem -Item $files -Server $fileshare -Path "\\WinSrv\Reports\Restored"

Perform the following steps:

  1. Run the Get-VBRUnstructuredBackupRestorePointReturns restore points created by file backup jobs and object storage backup jobs. cmdlet. Save the result to the $restorepoint variable.
  2. Run the Start-VBRUnstructuredBackupFLRSessionStarts a restore session to explore objects backed-up by file backup jobs and object storage backup jobs. cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Save the result to the $session variable.
  3. Run the Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet. Specify the Name parameter value. Save the result to the $fileshare variable.
  4. Run the Get-VBRUnstructuredBackupFLRItemReturns backed-up objects created by file backup jobs or object storage backup jobs. cmdlet. Set the $session variable as the Session parameter value. Specify the Name parameter value. Save the result to the $files variable.
  5. Run the Save-VBRUnstructuredBackupFLRItem cmdlet. Specify the following settings:
    • Set the $files variable as the Item parameter value.
    • Set the $fileshare variable as the Server parameter value.
    • Specify the Path parameter value.

Page updated 2026-08-20

Page content applies to build 13.1.1.18