Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

DataManagementTool.xml

The archive admin console provides tools to manage the data in the archive. To prevent that the amount of the data in the archive keeps growing several tools are available which can be used to remove expired data sets from the archive. This section will explain how to confgure and use these tools. First step is to define the rules for expiring data sets. The file DataManagementTool.xml can be used to define the rules for expiring data sets. 

...

In the screenshot above the you can see that the file managementreport.csv can be downloaded by pressing the download button. You can download this file by pressing the download button to review which data sets are expired. If needed you can manually edit this file by using a text editor or Excel. After you reviewed and/or changed this file you can upload the changed file to the archive by using the upload button.


Remove data from archive

The task remove data from archive will move all the expired data sets which that are listed in the DataManagementTool's output file to the configured backup folder in the DataManagementTool.xml file. First verify if this task is configured in the ArchiveTaskSchedule.xml file. A preDefinedArchiveTask remove data from archive should be available. If this task is not available yet, you should download the ArchiveTaskSchedule.xml file (you can do this in the manage configuration Manage Configuration tab) and add this task to this filethat file, for example as manualArchiveTask (see example below). After uploading this file this the task should be available in the Archive Tasks tab. Use the start button to run this task. The task remove data from archive will move all the files listed in the output file of the data management tool to the configured backup folder in the DataManagementTool.xml.

An example is given belowSince FEWS version 2022.01 it is also possible to run this task on a schedule. To configure this, the predefinedArchiveTask in the archiveTasksSchedule.xml example below should be inserted as a scheduledArchiveTask instead of a manualArchiveTask.

Code Block
languagexml
<manualArchiveTask>
	<predefinedArchiveTask>remove data from archive</predefinedArchiveTask>
	<description>Remove data from the archive</description>
</manualArchiveTask>	

...