Loading...

Get-CVSQLDatabaseBackupHistory

The Get-CVSQLDatabaseBackupHistory cmdlet retrieves the backup history of a SQL database.

Before you can use this cmdlet, you must log on to your CommCell environment using the Connect-CVServer cmdlet. For more information, see Connecting to a CommCell Environment with PowerShell.

Syntax

Get-CVSQLDatabaseBackupHistory -Name <String> [-JobDetail] [<CommonParameters>]

Get-CVSQLDatabaseBackupHistory -DatabaseObject <Object> [-JobDetail] [<CommonParameters>]

Required Parameters

Parameter

Description

Data type

Accepts pipeline input?

Accepts wildcard characters?

Type of parameter

–Name

The name of the database.

String

No

No

Named

–DatabaseObject

The object that represents the database.

Object

Yes, by:

  • Value
  • Property name

No

Named

Optional Parameters

Commvault Parameters

Parameter

Description

Data type

Accepts pipeline input?

Accepts wildcard characters?

Type of parameter

–JobDetail

Includes complete job details.

SwitchParameter

No

No

Named

Microsoft PowerShell Parameters

You can use the following Microsoft PowerShell parameters:

  • Debug
  • ErrorAction
  • ErrorVariable
  • OutBuffer
  • OutVariable
  • PipelineVariable
  • Verbose
  • WarningAction
  • WarningVariable
  • Force
  • Confirm
  • WhatIf

Note: Only a few cmdlets support Force, Confirm, and WhatIf parameters.

For more information, see "About Common Parameters" in the Microsoft PowerShell documentation.

Input

This cmdlet does not support input.

Output

The backup history of the database.

Last modified: 3/18/2020 7:47:01 AM