Remove-RubrikLogShipping

SYNOPSIS

Delete a specified log shipping configuration from Rubrik

SYNTAX

Remove-RubrikLogShipping [-id] <String> [-DeleteSecondaryDatabase] [[-Server] <String>] [[-api] <String>]
 [<CommonParameters>]

DESCRIPTION

Based on an id associated to a Rubrik Log Shipping job, we can delete the configuration and also remove the secondary database.

EXAMPLES

EXAMPLE 1

Get-RubrikLogShipping -PrimaryDatabaseName 'AthenaAM1-SQL16-1-2016' -SecondaryDatabaseName 'AthenaAM1-SQL16-1-2016'  | Remove-RubrikLogShipping

PARAMETERS

-id

-DeleteSecondaryDatabase

-Server

Rubrik server IP or FQDN

-api

API version

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Written by Chris Lumnah Twitter: @lumnah GitHub: clumnah

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/remove-rubriklogshipping

Last updated

Was this helpful?