This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBRHistoryOptions

Short Description

Modifies job sessions history settings.

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

Syntax

This cmdlet provides cmdlet sets that allow you to:

  • Modify session history settings to keep all sessions information in the database.

Set-VBRHistoryOptions [-KeepAllSessions]  [<CommonParameters>]

  • Modify session history settings to keep session information in the database for a specific period of time.

Set-VBRHistoryOptions [-RetentionLimitWeeks <int>]  [<CommonParameters>]

Detailed Description

This cmdlet modifies job sessions history settings.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

KeepAllSessions

Defines that Veeam Backup & Replication will not delete the session information from the database.

Default: False.

SwitchParameter

False

Named

False

RetentionLimitWeeks

Specifies a period in weeks. Veeam Backup & Replication will the session information from the database for this perios of time.

Default: 13.

Int

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 VBRHistoryOptions object that contains job sessions history settings.

Examples

Set-VBRHistoryOptionsExample 1. Modifying Session History Settings to Keep all Sessions

Set-VBRHistoryOptionsExample 2. Modifying Session History Settings to Keep Sessions for Several Weeks