Add-VBRArchiveBackupAvailabilityPeriod
Short Description
Extends the availability period of the backup files from the archive storage.
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRArchiveBackupAvailabilityPeriod -RestorePoint <COib> -AvailabilityPeriodDays <UInt32> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet extends the availability of the backup files retrieved from the archive extent of the scale-out backup repository.
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 |
|
RestorePoint |
Specifies the restore point for which you want to extend the availability.
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.
Output Object
The cmdlet returns the VBRPublishedBackupSession object.
Examples
Retrieving Backup Files from Amazon S3 Glacier Archive Extent
This example shows how to extend the availability of the backup files retrieved from the archive extent of the scale-out backup repository.
|
$backup = Get-VBRBackup -Name "NEW_YEAR_JOB_2" $rp = Get-VBRRestorePoint -Backup $backup | sort creation_time | select -First 1 Add-VBRArchiveBackupAvailabilityPeriod -RestorePoint $rp[0] -AvailabilityPeriodDays 2 |
Perform the following steps:
- Run the
Get-VBRBackupReturns backups. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable. - Run the
Get-VBRRestorePointReturns restore points. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$rpvariable.The
Get-VBRRestorePointcmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the first restore point in the array). - Run the
Add-VBRArchiveBackupAvailabilityPeriodcmdlet. Set the$rpvariable as theRestorePointparameter value. Specify theAvailabilityPeriodDaysparameter value.
Related Commands
Get-VBRBackupReturns backups.Get-VBRRestorePointReturns restore points.