I feel a bit silly, but I deleted a workflow from FFAStrans, and now I would like to restore it.
I guess I could rebuild it from the logs, but is there any autosave, backup save, or a way to recover a deleted workflow?
Thanks for any pointers!
Is there a way to recover a workflow that I accidentally deleted?
Re: Is there a way to recover a workflow that I accidentally deleted?
There are 2 points of interest for restoring workflows:
Each submitted job has a copy of the workflow in the job_log folder. You can open the log dir of each job from the job monitor by right-click. Example:
c:\FFAStrans1.3.1\processors\db\cache\jobs\20240423-1703-2759-7bcf-abd1c5372d4c\workflows
Also, we have a backup before each and every change of the workflow:
c:\FFAStrans1.3.1\FFAStrans1.3.1\Processors\db\configs\archive
Example, if you find what you look for in
\db\configs\archive\workflows\20240208-0057-2611-3e2b-c17701ddd522
Then you grab the youngest backup, rename it to the wf_id: 20240208-0057-2611-3e2b-c17701ddd522.json
and copy it back to the main workflows folder db\configs\workflows
Notice that in both scenarios, you might need to restore the user_variables.json as well from configs\archive\user_variables to
Processors\db\configs or create the user_variables the wf uses manually again.
Each submitted job has a copy of the workflow in the job_log folder. You can open the log dir of each job from the job monitor by right-click. Example:
c:\FFAStrans1.3.1\processors\db\cache\jobs\20240423-1703-2759-7bcf-abd1c5372d4c\workflows
Also, we have a backup before each and every change of the workflow:
c:\FFAStrans1.3.1\FFAStrans1.3.1\Processors\db\configs\archive
Example, if you find what you look for in
\db\configs\archive\workflows\20240208-0057-2611-3e2b-c17701ddd522
Then you grab the youngest backup, rename it to the wf_id: 20240208-0057-2611-3e2b-c17701ddd522.json
and copy it back to the main workflows folder db\configs\workflows
Notice that in both scenarios, you might need to restore the user_variables.json as well from configs\archive\user_variables to
Processors\db\configs or create the user_variables the wf uses manually again.
emcodem, wrapping since 2009 you got the rhyme?
Re: Is there a way to recover a workflow that I accidentally deleted?
Hi Emcodem,
thank you very much for your pointers. They really help me understand how the software works!
thank you very much for your pointers. They really help me understand how the software works!