New-RubrikDatabaseMount

SYNOPSIS

Create a new Live Mount from a protected database

SYNTAX

Recovery_timestamp

New-RubrikDatabaseMount -id <String> [-TargetInstanceId <String>] -MountedDatabaseName <String>
 [-TimestampMs <Int64>] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Recovery_DateTime

New-RubrikDatabaseMount -id <String> [-TargetInstanceId <String>] -MountedDatabaseName <String>
 [-RecoveryDateTime <DateTime>] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The New-RubrikDatabaseMount cmdlet is used to create a Live Mount (clone) of a protected database and run it in an existing database environment.

EXAMPLES

EXAMPLE 1

New-RubrikDatabaseMount -id $db.id -targetInstanceId $db.instanceId -mountedDatabaseName 'BAR-LM' -recoveryDateTime (Get-date $db.latestRecoveryPoint) Creates a new database mount named BAR on the same instance as the source database, using the most recent recovery time for the database.

PARAMETERS

-id

Rubrik id of the database

-TargetInstanceId

ID of Instance to use for the mount

-MountedDatabaseName

Name of the mounted database

-TimestampMs

Recovery Point desired in the form of Epoch with Milliseconds

-RecoveryDateTime

Recovery Point desired in the form of DateTime value

-Server

Rubrik server IP or FQDN

-api

API version

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

-Confirm

Prompts you for confirmation before running the cmdlet.

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 Mike Fal for community usage from New-RubrikMount Twitter: @Mike_Fal GitHub: MikeFal

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/new-rubrikdatabasemount

Last updated

Was this helpful?