Click or drag to resize

OnlineBackupJobRunnerRun Method (IdentityContract, IReadOnlyCollectionString, IReadOnlyCollectionString, IReadOnlyCollectionString, TimeSpan)

Start the backup synchronously and wait for the completion of the execution.

Namespace:  SOS.SDK.Tools.Runners
Assembly:  SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax
C#
public void Run(
	IdentityContract identity,
	IReadOnlyCollection<string> directories,
	IReadOnlyCollection<string> files,
	IReadOnlyCollection<string> exclusions,
	TimeSpan waitingTimeout
)

Parameters

identity
Type: SOS.SDK.Contracts.DataContractsIdentityContract
Identity for Auth on the Infrascale Service.
directories
Type: System.Collections.GenericIReadOnlyCollectionString
Collection of directories for backup.
files
Type: System.Collections.GenericIReadOnlyCollectionString
Collection of files for backup.
exclusions
Type: System.Collections.GenericIReadOnlyCollectionString
Collection of exclusions (directories, files), which should be excluded from the backup.
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.
See Also