Get-VBRNASBackupFLRItem (obsolete)
Short Description
Returns backed-up objects created by file backup jobs.
Note |
|
This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupFLRItemReturns backed-up objects created by file backup jobs or object storage backup jobs. cmdlet instead. |
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRNASBackupFLRItem -Session <VBRNASBackupFLRSession> [-Name <String>] [-Folder <VBRNASBackupFLRFolder>]
[-Recurse] [-ChangedOnly] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of backed-up objects created by file backup jobs. These objects contain settings of guest OS files and folders backed up by file backup jobs.
Parameters
Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
ChangedOnly
|
Defines that the cmdlet will return files and folders with changed attributes only.
|
SwitchParameter
|
False
|
Named
|
False
|
|
Folder
|
Specifies a backed-up folder. The cmdlet will return the specified folder and an array of objects that are added to this folder.
Accepts the VBRNASBackupFLRFolder object. To get this object, run the Get-VBRNASBackupFLRItem cmdlet.
|
VBRNASBackupFLRFolder
|
False
|
Named
|
False
|
|
Name
|
Specifies a name of the backed-up object. The cmdlet will return folders and files with the specified name.
Note: By default, the cmdlet returns up to 10,000 records (folders and files). You can change the default value with a registry key. For more information, contact Veeam Customer Support.
|
String
|
False
|
Named
|
False
|
|
Recurse
|
Defines that the cmdlet will look for objects that are added to backed-up child folders.
If you provide this parameter, the cmdlet will return an array of all objects that are added to backed-up child folders. Otherwise, the cmdlet will return an array of objects that are added to the parent folder on the backed-up file share.
|
SwitchParameter
|
False
|
Named
|
False
|
|
Session
|
Specifies a restore session. The cmdlet will return backed-up object within this restore session.
Accepts the VBRNASBackupFLRSession object. To get this object, 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.
|
VBRNASBackupFLRSession
|
True
|
Named
|
True (ByPropertyName, ByValue)
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRNASBackupFLRItem and VBRNASBackupFLRFolder objects that contain settings of guest OS files and folders backed up by file backup jobs.
Examples
Example 1. Getting Objects Within Restore Session
|
This example shows how to get objects within the specified restore session.
|
$restorepoint = Get-VBRNASBackupRestorePoint
$session = Start-VBRNASBackupFLRSession -RestorePoint $restorepoint[3]
Get-VBRNASBackupFLRItem -Session $session |
Perform the following steps:
- 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.
The Get-VBRNASBackupRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (An array starts with 0. In our example, it is the fourth restore point in the array).
- 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 as the RestorePoint parameter value. Save the result to the $session variable.
- Run the
Get-VBRNASBackupFLRItem cmdlet. Set the $session as the Session parameter value.
|
Example 2. Getting Objects by Name
|
This example shows how to get the Report001.txt file within the specified restore session.
|
$restorepoint = Get-VBRNASBackupRestorePoint
$session = Start-VBRNASBackupFLRSession -RestorePoint $restorepoint[4]
Get-VBRNASBackupFLRItem -Session $session -Name "Report001.txt" |
Perform the following steps:
- 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.
The Get-VBRNASBackupRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the fifth restore point in the array). Note that to count objects of the array you must start with 0.
- 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 as the RestorePoint parameter value. Save the result to the $session variable.
- Run the
Get-VBRNASBackupFLRItem cmdlet. Specify the Name parameter value. Set the $session as the Session parameter value.
|
Example 3. Getting Objects from Specific Folder
|
This example shows how to get all objects that are located in the the October Reports folder.
|
$restorepoint = Get-VBRNASBackupRestorePoint
$session = Start-VBRNASBackupFLRSession -RestorePoint $restorepoint[2]
$folder = Get-VBRNASBackupFLRItem -Session $session -Name "October Reports"
Get-VBRNASBackupFLRItem -Session $session -Folder $folder |
Perform the following steps:
- 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.
The Get-VBRNASBackupRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the third restore point in the array). Note that to count objects of the array you must start with 0.
- 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 as the RestorePoint parameter value. Save the result to the $session variable.
- Run the
Get-VBRNASBackupFLRItem cmdlet. Set the $session as the Session parameter value. Specify the Name parameter value. Save the result to the $folder variable.
- Run the
Get-VBRNASBackupFLRItem cmdlet. Set the $folder as the Folder parameter value. Set the $session as the Session parameter value.
|
Example 4. Getting All Objects Added to Backed-up Folders
|
This example shows how to get all objects that are added to the backed-up folders.
|
$restorepoint = Get-VBRNASBackupRestorePoint
$session = Start-VBRNASBackupFLRSession -RestorePoint $restorepoint[5]
Get-VBRNASBackupFLRItem -Session $session -Recurse |
Perform the following steps:
- 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.
The Get-VBRNASBackupRestorePoint cmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the sixth restore point in the array). Note that to count objects of the array you must start with 0.
- 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 as the RestorePoint parameter value. Save the result to the $session variable.
- Run the
Get-VBRNASBackupFLRItem cmdlet. Set the $session as the Session parameter value. Provide the Recurse parameter.
|
Related Commands
Get-VBRNASBackupRestorePointReturns restore points of backups created by file backup jobs. This cmdlet is obsolete. Run the Get-VBRUnstructuredBackupRestorePoint cmdlet instead.
Start-VBRNASBackupFLRSessionStarts a restore session to explore objects backed-up by file backup jobs. This cmdlet is obsolete. Run the Start-VBRUnstructuredBackupFLRSession cmdlet instead.