SetMbSecSnapshot

Syntax

SetMbSecSnapshotResult SetMbSecSnapshot(MbSecSnapshotId tMbSecSnapshot, SetMbSecSnapshotArg tArg)

Parameters

tMbSecSnapshot. Moniker of the object that is used to work with security policy backups.

tArg. Operation execution parameters.

Description

The SetMbSecSnapshot operation is used to work with security policy backups.

Comments

The operation is used to create security policy backups and restore security policy from backup. To execute the operation, specify in the tMbSecSnapshot field moniker of the object that is used to create a security policy backup. Depending on the executed operation, also specify the following fields:

The operation execution mode is set in the tArg.meta.execute.async field. If the operation is executed asynchronously, the GetMbSecSnapshot operation can be used to check execution status.

If a backup is created, the operation results in the binary file moniker. If security policy is restored, the operation results in the report with results. To make the report available after operation execution, define the tArg.metaGet.log field.

Example

Various methods of using this operation are given in the following examples:

Example name
Creating a Security Policy Backup
Restoring Security Policy from Backup

See also:

Operations for Working with Repository