Set-VBRUnstructuredBackupRetrieval
Short Description
Modifies the availability period of an active unstructured data retrieval operation.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRUnstructuredBackupRetrieval -RetrievalOperation <VBRUnstructuredBackupColdStorageRetrievalOperation> -AvailabilityPeriodDays <UInt32> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet modifies the availability period of an active unstructured data retrieval operation.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AvailabilityPeriodDays |
Specifies a period in days during which the retrieved archive backup files will be available. |
|
True |
Named |
False |
|
RetrievalOperation |
Specifies the active retrieval operation that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Modifying Active Data Retrieval Operation
This example shows how to modify the availability period of an active retrieval operation. The new availability period is set to 10 days.
|
$backup = Get-VBRUnstructuredBackup -Name "Compliance Archive" $retrieval = Get-VBRUnstructuredBackupColdStorageRetrieval -Backup $backup Set-VBRUnstructuredBackupRetrieval -RetrievalOperation $retrieval -AvailabilityPeriodDays 10 |
Perform the following steps:
- Run the
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable. - Run the
Get-VBRUnstructuredBackupRetrievalReturns active unstructured data retrieval operations. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$retrievalvariable. - Run the
Set-VBRUnstructuredBackupRetrievalcmdlet. Specify the following settings:- Set the
$retrievalvariable as theRetrievalOperationparameter value. - Set the
AvailabilityPeriodDaysparameter value to10.
- Set the
Related Commands
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs.Get-VBRUnstructuredBackupColdStorageRetrieval