Print Download PDF Send Feedback

Previous

Next

cp_merge export_policy

Description Provides the options of leaving the policy package in the active repository, or deleting it as part of the export process. The default policy cannot be deleted during the export action.

Syntax

> cp_merge export_policy [-s <db server>] [-u <user> | -c <certificate file>] [-p <password>] [-n <policy package name> | -l <policy name>] [-d <output directory>] [-f <outputfile>] [-r]

Parameter

Description

-s <db server>

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

-u <user>

The database administrator's name.(1)

-c <certificate file>

The path to the certificate file.(1)

-p <password>

The administrator's password.(1)

-n <policy package name>

The policy package to export.(2,3)

-l <policy name>

Export the policy package which encloses the policy name.(2,3,4)

-d <output directory>

Specify the output directory.(2)

-f <outputfile>

Specify the output file name,(where the default file name is <policy name>.pol.(2)

-r

Remove the original policy from the repository.(2)

Further considerations:

  1. Either use certificate file or user and password.
  2. Optional.
  3. If both -n and -l are omitted all policy packages are exported.
  4. If both -n and -l are present -l is ignored.

Example Export policy package Standard to file:

> cp_merge export_policy -n Standard -f StandardPolicyPackageBackup.pol -d C:\bak