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 |
---|---|
|
Specify the database server IP address or DNS name.(2) |
|
The administrator's name.(1,2) |
|
The path to the certificate file.(1) |
|
The administrator's password.(1,2) |
|
Rename the policy package to <package name> when importing.(2) |
|
Specify the input directory.(2) |
|
Specify the input file name. |
|
Override an existing policy if found.(2) |
Further considerations:
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