Profiles containing storage, naming scheme and lifetime for targeted files are configured in the Archive profile. You can configure several workflows to use the same profile, however only one of the workflows may be active at a time.
The Archive profile is loaded when you start a workflow that depends on it. Changes to the profile become effective when you restart the workflow.
Configuration
To create a new Archive profile configuration, click the New Configuration button in the upper left part of the Desktop window, and then select Archive Profile from the menu.
Archive profile configuration dialog
The contents of the menus in the menu bar may change depending on which configuration type that has been opened. The Archive profile uses the standard menu items and buttons that are visible for all configurations, and these are described in 2.1 Menus and Buttons.
The Edit menu is specific for Archive profile configurations.
Item | Description |
---|---|
External References | Select this menu item to Enable External References in an agent profile field. Refer to Enabling External References in an Agent Profile Field in 8.12 External Reference Profile for further information. |
See also, the section below, Enabling External References.
The full path of each filename to store in the archive is completely dynamic via the Archive File Naming Algorithm. The name is determined by three parameters:
AAA/BBB/CCC
Where:
Name placeholder | Description |
---|---|
| Represents one of the base directories specified in the Base Directory list in the Archive profile. If several base directories exist, this value will change according to the frequency selected from the Switch Policy list. The system automatically appends a directory delimiter after this name. |
| This part is constructed from the Directory Template. If the template contains one or several Directory delimiters this part will enclose one or several directory levels itself. For instance, if the template contains Month, Directory delimiter, Day this will yield new directories every day, named The system automatically appends a directory delimiter after this name. |
| This is the name the file will get. It is defined on each archiving agent using configurations from the Filename Template tab in the Archiving agent configuration dialog. |
The Archive profile configuration contains the following settings:
Setting | Description |
---|---|
Switch Policy | If several base directories are configured, the switch policy determines for how long the Archive services will populate each base directory before starting to populate the next one (daily, weekly, or monthly). After the last base directory has been populated, the archiving wraps to the first directory again. |
Base Directory | One or several base directories that can be used for archiving of files. For considerable amounts of data to be archived, several base directories located on different disk partitions might be needed. |
Directory Template | List of tokens that, in run-time, builds subdirectory names appended to one of the base directories. The tokens could be either special tokens or user defined values. Subdirectories on any level, can be constructed by using the special token Directory delimiter. See the section below, Directory Template. |
Remove Entries (days) | If enabled, files older than the entered value will be deleted from the archive. Depending on the agent using the profile, the removal will occur differently.
|
Keep Files | Files will not be deleted. If Keep Files and Remove Entries (days) are combined, only references in the database are removed while the files remain on disk. (not valid for the Local Archiving agent). |
Directory Template
Add Directory Template dialog
Setting | Description |
---|---|
Special token | Tokens to be used as part of the directory name.
|
Text | If enabled, the token is entered from the text field. When disabled, the token is instead selected from the Special token list. |
Enabling External Referencing
You enable External Referencing of profile fields from the Archive profile in the Edit menu. For detailed instructions, see 8.12 External Reference Profile.
When you apply External Referencing to profile fields, the following profile parameters are affected:
Setting | Description |
---|---|
Base Directory | The directory paths that you add to this list are included in the properties file that contains the External References. Example - Directory path myBaseDirectoryKey = /mypath/no1, /mypath/no2 |
Remove Entries (days) | The value with which you set this entry is included in the properties file and interpreted as follows: myRemoveEntriesKey = 1 #! Remove after 1 day myRemoveEntriesKey = 365 #! Remove after 365 days myRemoveEntriesKey = -1 #! Do not remove. #! This value is equal to clearing the #! check-box. |
Keep Files | In the properties file a checked entry is interpreted as true or yes , and a cleared entry as false or no . |