Print Download PDF Send Feedback

Previous

Next

cp_merge import_policy and cp_merge restore_policy

Description Provides the options to overwrite an existing policy package with the same name, or preventing overwriting when the same policy name already exists.

Syntax

> cp_merge {import_policy | restore_policy} [-s <db server>] [-u <user> | -c <certificate file>] [-p <password>] [-n <package name>] [-d <input directory>] -f <input file> [-v]

Parameter

Description

-s <db server>

Specify the database server IP address or DNS name.(2)

-u <user>

The administrator's name.(1,2)

-c <certificate file>

The path to the certificate file.(1)

-p <password>

The administrator's password.(1,2)

-n <package name>

Rename the policy package to <package name> when importing.(2)

-d <input directory>

Specify the input directory.(2)

-f <inputfile>

Specify the input file name.

-v

Override an existing policy if found.(2)

Further considerations:

  1. Either use certificate file or user and password.
  2. Optional.

The cp_mergerestore_policy works only locally on the Security Management server and it will not work from remote machines.

Caution: A Security policy from <policy>.W file can be restored using this utility; however, important information may be lost when the policy is translated into .W format. This restoration should be used only if there is no other backup of the policy.

Example Import the policy package saved in file Standard.pol into the repository and rename it to StandardCopy.

> cp_merge import_policy -f Standard.pol -n StandardCopy