Restore-SBEntity
Restore-SBEntity
You can use this cmdlet to restore a single Service Bus for Windows Server entity from a database backup.
Syntax
Parameter Set: Default
Restore-SBEntity -EntityPath <Uri> -SourceGatewayConnectionString <String> -SourceMessageContainersConnectionStrings <String[]> [-Force] [ <CommonParameters>]
Detailed Description
This cmdlet returns a single Service Bus for Windows Server entity (either a queue or a topic) from a recovered database. Use this cmdlet to restore a single Service Bus for Windows Server entity in case of an accidental deletion, or if you want to restore it to its previous state (including stored messages) from the time of the database recovery.
Parameters
-EntityPath<Uri>
The Service Bus for Windows Server entity path.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Force
The force value.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-SourceGatewayConnectionString<String>
The source gateway connection string.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SourceMessageContainersConnectionStrings<String[]>
The source message containers connection strings.
Aliases |
none |
Required? |
true |
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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
PS C:\>