Set-VBRImmutabilityLockExpirationDate

In this article

    Short Description

    Modifies immutability settings of a hardened backup repository.

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

    Syntax

    Set-VBRImmutabilityLockExpirationDate [-RestorePoint] <COib[]> -ExpirationDate <datetime>  [<CommonParameters>]

    Detailed Description

    This cmdlet modifies immutability settings of a hardened backup repository.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    RestorePoint

    Specifies an array of restore points. The cmdlet will modify immutability settings for these restore points.

    Accepts the COib[] object. To create this object, run the Get-VBRRestorePoint cmdlet.

    True

    0

    True (ByValue, ByPropertyName)

    ExpirationDate

    Specifies a date when Veeam Backup & Replication is allowed to remove restore points from a backup repository.

    DateTime

    True

    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 VBRImmutabilityLockExpirationDate object that contains immutability settings of a hardened backup repository..

    Examples

    Modifying Immutability Settings of Hardened Backup Repository

    This examples shows how to set the date when Veeam Backup & Replication is allowed to remove restore points from the backup repository to 03.02.2021.

    $restorepoint = Get-VBRRestorePoint

    Set-VBRImmutabilityLockExpirationDate -RestorePoint $restorepoint -ExpirationDate 03.02.2021

    Perform the following steps:

    1. Run the Get-VBRRestorePoint cmdlet. Save the result to the $restorepoint variable.
    2. Run the Set-VBRImmutabilityLockExpirationDate cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Specify the ExpirationDate parameter value.

    Related Commands

    Get-VBRRestorePoint

    I want to report a typo

    There is a misspelling right here:

     

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