This topic has not yet been rated - Rate this topic

Restore-SBGateway

Restore-SBGateway

You can use this cmdlet to restore the Service Bus for Windows Server gateway database.

Syntax

Parameter Set: AutoGeneratedCert
Restore-SBGateway -GatewayDBConnectionString <String> [-CertificateAutoGenerationKey <SecureString> ] [-Force] [-SBFarmDBConnectionString <String> ] [ <CommonParameters>]




Detailed Description

Run Restore-SBGateway to restore the Service Bus for Windows Server gateway database from a known good backup. Use this cmdlet if your Service Bus for Windows Server gateway database is currently corrupted and you have a good known backup you can restore from (optionally to another server).

Parameters

-CertificateAutoGenerationKey<SecureString>

This passphrase is required for certificate auto generation. This parameter is mandatory if you want certificates to be auto generated.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Force

Specifies the force value.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-GatewayDBConnectionString<String>

Represents a connection string of the gateway database.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SBFarmDBConnectionString<String>

Represents a connection string of the Service Bus for Windows Server database.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example

Restore Service Bus for Windows Server gateway from a recovered backup which was uploaded to MyNewSQLServer host under the name MyRecoveredSBGatewayDBName.


PS C:\> Restore-SBGateway -GatewayDBConnectionString 'Data Source=SqlServerName;Initial Catalog=SbGatewayDatabase;Integrated Security=True' -SBFarmDBConnectionString 'Data Source=SqlServerName;Initial Catalog=RecoverSbManagementDB;Integrated Security=True'

Workflow Manager 1.0 MSDN Community Forum
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter