_DataSaveRestore

The names of the target directories are kept for management of stored data, the name of the source directory when importing, the limits of the time interval during which the data is contained in the directory, status bits for improvement of the import process and other similar things- all this information is saved in internal data points. _DataSaveRestore is responsible for the value history. The data point type is obsolete with the history DB.

Data point element Type Description
SaveDirList.DirNames dyn_string Stored data of the value history is moved to the sub directories of the "save" directory in the WinCC OA database. More exact a such sub directory is created at each start time of an archive class for which a "swap out" was configured. All data, which is swapped out under this archive class with the corresponding start time, is saved in this directory. Data of the alert history is saved in the sub directories of the"alsave" directory in the WinCC OA database. Such sub directories are created at specific intervals. The intervals are held in the alert class. Contains the sub directory names of the save directory.
SaveDirList.Descriptions dyn_string Contains information about the above mentioned sub directories. The directories are created by the data background manager. The archive class as well as the store (swap out) interval are specified.
Restore.FromDirName string

The data point elements under "Restore" contain information that is needed for the reimporting of data to the value or alert history or contain information that allows to trigger such import.

Name of the directory that contains the data that is to be imported. The directory has to be a sub directory of the save directory and has to be specified relative to this directory. The name is arbitrary.

Restore.DpList dyn_dpid Contains the addresses of the data point elements whose data should be reimported. If an empty DpList is passed data of all data point elements of the specified directory is imported.
Restore.StartTime time Specifies the start time of the data to be imported. The start time should be defined within the import interval of the data.
Restore.EndTime time Specifies the end time of the data to be imported. The end time should be defined within the import interval of the data.
Restore.SavePreviousData bool Defines whether the data, which is currently available in the value or alert history and which is within the given start and end time, should be swapped out or overwritten. (you can define that the compressed data of the history is not lost when reimporting the uncompressed data!)
Restore.Command bool Triggers the import of the data in the value history. TRUE or FALSE.
Restore.Status string Contains information about the import process.
Save.DpList dyn_dpid The data point elements under "Save" contain information that is necessary for the data export from the value or alert history. The information is necessary for data export that takes place independent from the settings in the archive or alert classes. An export can be triggered with the aid of this element. Contains the addresses of the data point elements whose data should be swapped out. If an empty DpList is passed data of all data point elements of the specified directory is swapped out.
Save.StartTime time Defines the start time of the data that is to be swapped out.
Save.EndTime time Defines the end time of the data that is to be imported.
Save.SavePreviousData bool Defines whether the data, which is currently available in the value or alert history and which is within the given start and end time, should be swapped out or overwritten.
Save.DontDelete bool Prevents the deletion of data.
Save.Command bool Triggers the export of data in the value or alert history. TRUE or FALSE.
Save.Status string Contains information about the export process.