This type of saving is suitable first of all for a local event group (server), when the event group represents a place in the application where event items really arise and they are saved to disk for needs of viewing. The window serves for setting the parameters of backup of a filled data file (events). Always when the file is filled by the specified number of records or when the defined time-range elapsed, it is closed and a new file is created with the name consisting of the backups list file name, the time when the file was created and an extension. This process proceeds so long until the specified the number of backup files is created. If it is necessary to create next backup but the number of backups is already spent, then the oldest backup (file) is removed.
After starting the application, a time sorted list of all data files is created in the memory based on the current data files with corresponding prefixes present in the specified folder. The sorting is done based on the time information contained in the file name (if the filename time identification fails then the first record is used, or the file modification time is used). Therefore it is acceptable to remove (backup) or add some data files while the application is not running.
In case of a remote event group (see the "Remote group (client)" configurator), it sets the way of getting the data for the history viewer by file sharing . The simplest way, in this case, is to use the data sharing of an event group by means of the "Remote connection over WEB" configurator where the history viewer is functional automatically.
|Folder for files||Path to the folder with data files (dBase III files *.dbf). It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders. For example #data:Alarm/. |
Caution! For each event group (the PmaEventGroup object) different folder should be used. If the backup files of multiple groups are stored in a single shared folder, then at least the prefixes of such files must differ. It means that the individual groups must differ by the defined folder or file prefix (or both).
|File name prefix||The prefix - first part of the filename, for example event_. The whole file name consists of this prefix followed by time string, displaying the time of backup creation, and extension. For exampleevent_2007-01-15_18-45-43.dbf. |
Macro expression can be used for input (it is evaluated after starting the application).
|Backup creation is defined by records count||If checked, then the backup (creating new file) is performed on achievement of specified record number.|
|Backup creation is defined by time interval||If checked, then the backup (creating new file) is performed periodically with the defined period (Every year, month, week, day, hour, minute, second).|
|Backup count is limited||Maximum number of backup files. If this number of files is achieved, then the oldest backup file is replaced by the newest one.|
|Text data saved as||Specifies the text data coding for saving into the file. It concerns primarily diacritic characters saving method.|
ANSI - dependent on OS Windows code page - The texts are saved using the national code page based on OS Windows setting. This method does not allow saving multilingual texts coded by different language code pages simultaneously (e.g. German and Czech).
UTF8 (Unicode) - independent on OS Windows code page - The text are saved using the universal UTF8 Unicode coding. This method is independent on OS Windows codepage setting, and also on the application main language setting. This method allows saving multilingual texts coded by differnt code pages simultaneously (e.g. German and Russian).