Click or drag to resize

RecoveryJobRunnerRun Method (IdentityContract, String, String, RecoveryFilterContract, ConflictResolutionContract, Boolean, String, TimeSpan)

Run recovery with filter.

Namespace:  SOS.SDK.Tools.Runners
Assembly:  SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax
C#
public void Run(
	IdentityContract identity,
	string systemName,
	string recoveryRootPath,
	RecoveryFilterContract filter,
	ConflictResolutionContract conflictResolution,
	bool includePath,
	string recoveryDestination,
	TimeSpan waitingTimeout
)

Parameters

identity
Type: SOS.SDK.Contracts.DataContractsIdentityContract
Identity for Auth on the Infrascale Service.
systemName
Type: SystemString
System name allows you to set recovery scope. It's a root path for files, backed up from one machine. If you want to recover files, backed up from current system - use MachineName.
recoveryRootPath
Type: SystemString
This is a root folder for files, backed up from target system.
filter
Type: SOS.SDK.Contracts.DataContracts.Jobs.RecoveryRecoveryFilterContract
RecoveryFilterContract allows you to filter recovery items.
conflictResolution
Type: SOS.SDK.Contracts.DataContracts.EnumsConflictResolutionContract
Sets how the file conflicts should be handled.
includePath
Type: SystemBoolean
Where to include original file path.
recoveryDestination
Type: SystemString
Folder where to put recovered files.
waitingTimeout
Type: SystemTimeSpan
Timeout for the end of the operation. If the operation does not finish within the specified time, the operation ends with TimeoutException. The operation continues to run on the server.
Remarks
Unified helper method, allows to get recovery info by filter and recover filter output.
See Also