SALES: 1-800-867-1380
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Restore-WFScope

Updated: August 29, 2012

Restore-WFScope

This cmdlet will restore a previously backed-up Workflows scope.

Syntax

Parameter Set: Default
Restore-WFScope -BackupInstanceDBConnectionString <String> -BackupResourceDBConnectionString <String> -BackupSBGatewayDBConnectionString <String> -BackupSBMessageContainerConnectionString <String[]> -InstanceStateSyncTime <DateTime> -LiveInstanceDBConnectionString <String> -LiveResourceDBConnectionString <String> -ScopePath <String> [-AbortOnError] [-LiveSiteEncryptedEncryptionToken <String> ] [-LiveSiteEncryptionCertificate <X509Certificate2> ] [-LiveSiteEncryptionToken <String> ] [ <CommonParameters>]




Detailed Description

Run Restore-WFScope to restore a previously backed-up Workflows scope. It provides the ability to help customers recover from unexpected deletions of scopes that need recovery using a backup.

Parameters

-AbortOnError

If True, the cmdlet aborts the operation if any errors are encountered and rollbacks the changes. If False, the cmdlet prints the errors and continues with the operation.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-BackupInstanceDBConnectionString<String>

The connection string of the backed up workflow instance management database.


Aliases

backupInstanceDb

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-BackupResourceDBConnectionString<String>

The connection string of the backed up workflow resource management database.


Aliases

backupResourceDb

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-BackupSBGatewayDBConnectionString<String>

The connection string of the Service Bus for Windows Server gateway database that has been restored from the backup that contains the scope to be restored.


Aliases

gateway

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-BackupSBMessageContainerConnectionString<String[]>

The connection strings of the Service Bus for Windows Server container databases that have been restored from the backup that contain the scope to be restored.


Aliases

container

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InstanceStateSyncTime<DateTime>

The time to which you want the snapshot of the scope to be restored from the backup databases.


Aliases

syncTime

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LiveInstanceDBConnectionString<String>

The connection string of the live instance workflow resource management database.


Aliases

liveInstanceDb

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LiveResourceDBConnectionString<String>

The connection string of the live resource workflow resource management database.


Aliases

liveResourceDb

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LiveSiteEncryptedEncryptionToken<String>

This Parameter is used internally.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LiveSiteEncryptionCertificate<X509Certificate2>

This Parameter is used internally.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LiveSiteEncryptionToken<String>

This Parameter is used internally.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ScopePath<String>

The path of the workflow scope to restore.


Aliases

scope

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

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 1

The following example shows how to use the cmdlet to restore a previously backed-up Workflows scope.


PS C:\> Restore-WFScope-ScopePath '/c1540fc8/c2'-BackupResourceDBConnectionString 'Data Source=localhost;Initial Catalog=slr_fb5458BackupWFResources;Integrated Security=SSPI;Asynchronous Processing=True'-BackupInstanceDBConnectionString 'Data Source=localhost;Initial Catalog=slr_fb5458BackupWFInstances;Integrated Security=SSPI;Asynchronous Processing=True'-InstanceStateSyncTime '4/18/2012 3:46:45 PM' -ServiceBusGateway 'Data Source=localhost;Initial Catalog=slr_fb5458BackupSBGateway;Integrated Security=SSPI;Asynchronous Processing=True'-ServiceBusMessageContainers 'Data Source=localhost;Initial Catalog=slr_fb5458BackupWFContainer;Integrated Security=SSPI;Asynchronous Processing=True'

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft