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, in the tMbSecSnapshot field specify moniker of the object that is used to create a security policy backup. Depending on the executed operation, also specify the following fields:

In the tArg.meta.execute.async field set the operation execution mode. 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 the 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