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. ConfigurationThe contents of the menus in the menu bar may change depending on which configuration type that has been opened. The Edit menu is specific for Archive profile configurations. Item | Description |
---|
| Select this menu item to Enable External References in an agent profile field. Refer to Enabling External References in an Agent Profile Field in External Reference (3.0) 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 |
---|
AAA
| 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. | BBB
| 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 03/01 , 03/02 ... 03/31 , 04/01 , 04/02 ... 04/30 and so on. In this example, files are stored in a directory structure containing all months, which in turn contains directories for all days (which in turn will contain all files from that day). The system automatically appends a directory delimiter after this name. | CCC
| 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 TemplateSetting | Description |
---|
Special token | Tokens to be used as part of the directory name. Year - Inserts four digits representing the year the file was archived. Month - Inserts two digits representing the month the file was archived. Day - Inserts two digits representing the day of the month the file was archived. Hour - Inserts two digits representing the hour (24) of the day the file was archived. Agent directory name - Inserts the MIM value(s) defined in the Agent Directory Name list in the Archiving agent configuration dialog. Day index - Inserts a day index between zero and the value entered in Remove Entries (days) field. This number is increased by one every day until Remove Entries (days) - 1 is reached. It then wraps back to zero. Day index may not be used in the template if Remove Entries (days) is disabled. Directory delimiter - Inserts the standard directory delimiter for the operating system it distributes files to. This way, a sub-directory is created.
| Text | If enabled, the token is entered from the text field. When disabled, the token is instead selected from the Special token list. |
Anchor |
---|
| EnablingExternalReferencing |
---|
| EnablingExternalReferencing |
---|
| Enabling External ReferencingYou enable External Referencing of profile fields from the Archive profile in the Edit menu. For detailed instructions, see External Reference (3.0). 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. Info |
---|
title | Example - Directory path |
---|
|
Code Block |
---|
| 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: Code Block |
---|
| 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 . |
|