Add-VBRArchiveBackupAvailabilityPeriod

In this article

    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

    RestorePoint

    Specifies the restore point for which you want to extend the availability.

    Accepts the COib type. To get this object, run the Get-VBRRestorePoint cmdlet.

    True

    Named

    True (ByValue, ByPropertyName)

    AvailabilityPeriodDays

    Specifies a period (in days) during which the retrieved archive backup files will be available.

    Uint32

    True

    Named

    False

    RunAsync

    Indicates 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 the About CommonParameters section of 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:

    1. Run the Get-VBRBackup cmdlet. Specify the Name parameter value. Save the result to the $backup variable.
    2. Run the Get-VBRRestorePoint cmdlet. Set the $backup variable as the Backup parameter value.

    The Get-VBRRestorePoint cmdlet 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).

    1. Run the Add-VBRArchiveBackupAvailabilityPeriod cmdlet. Set the $rp variable as the RestorePoint parameter value. Specify the AvailabilityPeriodDays parameter value.

    Related Commands

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.