Before you can perform an archive or purge, you create a rule. The rule defines what you want to archive and when.
Example: You create an archive and purge rule to remove deleted forums from the database.
Follow these steps:
The Archive and Purge Rule List page opens.
The Create New Archive and Purge Rule page opens.
The new rule is displayed on the Archive and Purge Rule List page.
Example: You create an optional configuration rule inside the arcpur_cfg.xml and itil_arcpur_cfg.xml files to archive and purge the KPI_Ticket_Data node.
Follow these steps:
The following is a sample main_object definition for the ticket object, cr:
<!-- KPI Ticket Data -->
<main_obj>
<name>KPI Ticket Data</name>
<internal_name>KPI Ticket Data</internal_name>
<factory>ktd</factory>
<default_query>obj_name='cr'</default_query>
<date_field>end_time</date_field>
<ref_by value="obj_id">cr.id</ref_by>
</main_obj>
Note: The configuration rule can only select records for cr. The ref_by tag can match the value of obj_id in KPI Ticket Data to the value of id in cr. If a match is found, it means that a KPI Ticket Data record is referenced by a cr record, so the KPI Ticket Data record is not archived and purged.
These configuration rules become selectable configuration object names in the Archive and Purge Rule Detail form.
Copyright © 2013 CA.
All rights reserved. |
Tell Technical Publications how we can improve this information |