Using an archive

To minimize the demands on network resources and the size of the exported policy files on the computer, use the -z option with the export or the import command. This option compresses the .xml file into a .zip file.

For example, to export the policy in Example 2 as a zip file, type the following:

policytool export gs0100 "Security Officer" my1pass+ phase1.zip "Phase 1" -z

To import the policy that is exported in this example to the GS0200 manager as a zip file, type the following:

policytool import gs0200 "Security Officer" my2pass+ phase1.zip -z