Is there is any other backup for Nifi other than template and flow.xml file?

738 Views Asked by At

i have been using Nifi-0.6.1. My entire workflow has been crashed while running processors.While check logs it shows permGenSpace error.So i have increase the heap memory and permgen space in Bootstrap file.

After that i can't able to run nifi. So i have looking for backup my workflow.

Is Nifi have any other backup for entities in UI other than following two?

1.Template. 2.Flow.xml.gz

i.).I have forget to save my entire workflow as template.

ii.)I think flow.xml having my entire workflow so try to open the flow.xml.gz file it shows error which is in below screenshot. enter image description here

But flow.xml has been unzipped.It having some not enclosed tags.It shows like below.,

enter image description here

How can i back to my entire workflow?.

If backup operation(flow.xml.gz) doesn't worked then how can i get workflow in which used in Nifi UI?.

If i delete "flow.xml.gz" then nifi running correctly.But my entire workflow has lost.

1

There are 1 best solutions below

0
On BEST ANSWER

Nifi now has built in version management through the Nifi Registry

This also makes it easy to safeguard your flow, and it can even integrate with Git if more functionality is needed.