Overview
Universal Controller maintains a record of all system activity, including:
The Data Backup / Purge feature allows you to configure automatic backups and/or purges of some or all of the Controller activity data. Depending on your organization's needs, you should schedule regular data backups. Depending on the volume of your installation, the amount of data in your Controller database could become unwieldy if you do not schedule regular purges of old data.
The data is written to XML files in the directory you specify.
Note
For instructions on how to purge user-created Controller records, see Purging Old Versions of Records.
Purge Rules for Task Instances
The following rules apply for the purging of task instances.
Task Instance Status
A task instance (including a workflow task instance) can be purged only if it is in a status greater than 99:
- 110 (In Doubt)
- 120 (Start Failure)
- 125 (Confirmation Required)
- 130 (Cancelled)
- 140 (Failed)
- 180 (Skipped)
- 190 (Finished)
- 200 (Success)
A task instance within a workflow cannot be purged until its workflow task instance has been purged.
A workflow task instance cannot be purged if one or more of its task instances is in a status other than Skipped, Finished, or Success, because that will cause the workflow to be in a status which will not qualify it to be purged (for example: Running, Running/Problems), and therefore none of the task instances within the workflow will qualify for purge.
Purging by Retention Duration
If Purge By Retention Duration has been specified for a trigger or a task, and the Purge By Retention Duration checkbox has been selected in the Data Backup / Purge Details, all task instances launched by the trigger or task are eligible to be purged from the database as soon as the retention duration time specified in the trigger or task has been met.
When a purge is run, any task instances eligible to be purged by retention duration will be purged regardless of the Days Older Than value specified in the Purge Details.
Note
The Trigger Level (Purge By Retention Duration) feature is used for selectively purging instances earlier than the System Level (Days Older Than) purge and not intended for retaining instances longer than the System Level purge. The System Level purge will not take into consideration the Retention Duration and, therefore, setting a trigger Retention Duration longer than the configured System Level purge will not retain those instances longer.
Creating a Data Backup / Purge Record
Step 1 | From the Administration navigation pane, select Configuration > Data Backup / Purge. The Data Backup / Purge list displays. |
---|---|
Step 2 | Enter / select Details for a new Data Backup / Purge record, using the field descriptions below as a guide.
To display more of the Details fields on the screen, you can either:
|
Step 3 | If you want the backup / purge to run automatically, enable the Schedule field and specify how often and what time it should run. Otherwise, you can run it manually. |
Step 4 | Click a Save button to save the record. The record is added to the database, and all buttons and tabs in the Data Backup / Purge Details are enabled. |
Note
To open an existing record on the list, either:
- Click a record in the list to display its record Details below the list. (To clear record Details below the list, click the New button that displays above and below the Details.)
- Clicking the Details icon next to a record name in the list, or right-click a record in the list and then click Open in the Action menu that displays, to display a pop-up version of the record Details.
- Right-click a record in the a list, or open a record and right-click in the record Details, and then click Open In Tab in the Action menu that displays, to display the record Details under a new tab on the record list page (see Record Details as Tabs).
Data Backup / Purge Details
The following Data Backup / Purge Details is for an existing Data Backup / Purge record.
Depending on the values that you enter / select for these fields, more (or less) fields may display. See the field descriptions, below, for a description of all fields that may display in the Data Backup / Purge Details.
For information on how to access additional details - such as Metadata and complete database Details - for Data Backup / Purge records (or any type of record), see Records.
Data Backup / Purge Details Field Descriptions
The following table describes the fields, buttons, and tabs that display in the Data Backup / Purge Details.
Field Name | Description |
---|---|
Details | This section contains detailed information about the record. |
Name | Unable to render {include} The included page could not be found. |
Description | Unable to render {include} The included page could not be found. |
Table | Unable to render {include} The included page could not be found. |
Days Older Than | Unable to render {include} The included page could not be found. |
Backup | Unable to render {include} The included page could not be found. |
Export Path | Unable to render {include} The included page could not be found. |
Purge | Unable to render {include} The included page could not be found. |
Purge By Retention Duration | Unable to render {include} The included page could not be found. |
Schedule | Unable to render {include} The included page could not be found. |
Next Scheduled Time | Unable to render {include} The included page could not be found. |
Every # Days | Unable to render {include} The included page could not be found. |
Time | Unable to render {include} The included page could not be found. |
System Notification | Specification for whether or not to receive system notifications for Data Backup / Purge operations. Note In order to receive system notifications, you must provide an email address in the Administrator Email Address system property and select the Use for System Notifications field on an Email Connection. |
Metadata | This section contains Metadata information about this record. |
UUID | Universally Unique Identifier of this record. |
Updated By | Name of the user that last updated this record. |
Updated | Date and time that this record was last updated. |
Created By | Name of the user that created this record. |
Created | Date and time that this record was created. |
Buttons | This section identifies the buttons displayed above and below the Data Backup / Purge Details that let you perform various actions. |
Save | Saves a new record in the Controller database. |
Save & New | Saves a new Data Backup/Purge record in the Controller database and redisplays empty Details so that you can create another Data Backup/Purge record. |
Save & View | Saves a new Data Backup/Purge record in the Controller database and continues to display that record. |
New | Displays empty (except for default values) Details for creating a new record. |
Update | Unable to render {include} The included page could not be found. |
Enable | Unable to render {include} The included page could not be found. |
Disable | Unable to render {include} The included page could not be found. |
Run | Unable to render {include} The included page could not be found. |
Terminate | Terminates a running Data Backup/Purge operation. |
Delete | Unable to render {include} The included page could not be found. |
Refresh | Refreshes any dynamic data displayed in the Details. |
Close | For pop-up view only; closes the pop-up view of this record. |
Tabs | This section identifies the tabs across the top of the Data Backup / Purge Details that provide access to additional information about the record. |
Audits | Lists audits created for all scheduled runs of this data backup / purge operation. |
Running a Data Backup / Purge Manually
If you want to manually run a data backup or purge, either:
- On the Backups list, right-click the Name of the Data Backup / Purge that you want to run and click Run.
- Display the Details of the Data Backup / Purge that you want to run and click the Run button.
Importing Backed Up / Purged Data into the Controller
If you want to import any of the XML files created by a Data Backup / Purge, you can copy the XML file(s) into the bulk export output path and run bulk import. See Running an Import.
Returning Virtual Resources for Purged Task Instances in Failure Status
Task instances that have their Hold Resources on Failure field enabled will hold their renewable virtual resources if the task instance is in Failed status.
However, when these task instances are purged, the virtual resources are returned.