Get-VBRUnstructuredBackupSession

Short Description

Returns backup sessions for file backup jobs and object storage backup jobs.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get backup sessions for file backup jobs and object storage backup jobs with certain IDs.

Get-VBRUnstructuredBackupSession -Id <Guid[]> [<CommonParameters>]

  • Get backup sessions for file backup jobs and object storage backup jobs with certain names.

Get-VBRUnstructuredBackupSession -Name <String[]> [<CommonParameters>]

Detailed Description

This cmdlet returns backup sessions for file backup jobs and object storage backup jobs.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Id

Specifies an array of IDs of backup sessions for file backup jobs and object storage backup jobs. The cmdlet will return backup sessions with these IDs.

Guid[]

True

Named

False

Name

Specifies an array of names of backup sessions for file backup jobs and object storage backup jobs. The cmdlet will return backup sessions with these names.

Note: Veeam Backup & Replication adds (Full) at the end of the job name for full backup sessions. Depending on the type of the backup session you may specify the job name in one of the following ways:

  • To get incremental backup sessions, specify the job name as it was specified when creating the job.
  • To get full backup sessions, add (Full) at the end of the Name parameter.
  • To get both full and incremental backup sessions for the job, add * at the end of the Name parameter.

String[]

True

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 VBRUnstructuredBackupSession objects that contain settings of backup sessions for file backup jobs and object storage backup jobs.

Examples

Getting All Backup Sessions for File Backup Job

This command returns all backup sessions for the New backup session file backup job.

Get-VBRUnstructuredBackupSession -Name "New backup session*"