Thursday, June 14, 2012

BACKING UP POLICY INFORMATION

You can back up Websense policy information (clients, policies, filters, and admins) using the PgSetup utility. However, when running PgSetup to restore policies on another Websense installation, you will also need to change the broker service token in config.xml file (see below for a PgSetup restore). On the source server, perform the following.
  1. Generate a policy backup file. From the Websense bin directory, run:
    • Windows:  PgSetup --save policy.wsdb
    • Linux:  ./PgSetup --save policy.wsdb
  2. From the Websense bin directory, open the config.xml file and search for the word "token" including the quotes. You should see something like:
    • <data name="Token"> LONG-TOKEN-STRING-HERE </data> 
  3. Copy the token string and save it to a text file. 
  4. Move the policy.wsdb file and token string to the destination server.
NOTE: Your WebsenseAdministrator password will be used on the destination server where this token is used.