I’ve been asked to create a system for backing up and archiving Connect resources. I’m pretty sure Connect and Workflow do this already. Is there a link to technical documentation on the “Archiving Mechanism” within Connect/Workflow?
From version 8.2, PlanetPress Workflow maintains an archive of previous versions of resources, in the following location: %PROGRAMDATA%\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\OLConnect\Archive , each in their own folder:
datamapper contains archives of the data mapping configurations (.OL-datamapper)
jobcreation contains archives of the Job Presets (.OL-jobpreset)
outputcreation contains archives of the Output Presets (.OL-outputpreset)
template contains archives of the templates (.OL-template)
workflow contains archives of Workflow configurations received by the server.
The archives are saved using the template named followed by a timestamp. A maximum of 30 of each instance of a resource is kept (meaning if you have 10 different templates, a maximum of 300 files will be present in the archive\template folder). Older archives are deleted automatically as new archives are created.
The Archive folder under the Connect folder holds up to 30 versions backward of any Connect Template/Datamapper/JobPreset/OutputPreset and Workflow configuration.
Unfortunately, there is no documentation on this at the moment and it is not editable (meaning you can’t change to 20 instead of 30).
When are files archived? For workflow, does it happen when Workflow is restarted? When Messenger is restarted? For Connect resources, is it when a resource is “Sent to workflow” or placed by other means into the “Documents/IN” folder?
Connect Resources are archived each time you use the “Send to Workflow” option from the Designer or if you drop them manually in the IN folder.
Workflow configs are archived each time you save them from the Workflow Configuration Tool
In addition, each time you use the “Send Configuration” option in the Workflow Configuration Tool, the file is also archived using the “CurrentConfig” prefix.