Thank you very much Bryan. I will look more closely for archives, and into transfers for the time being using flow.xml.gz. I also hope to see if there's a way to be alerted to changes on the Confluence page you cited in your reply. -Jim
On Thu, Feb 9, 2017 at 10:40 AM, Bryan Bende <[email protected]> wrote: > Hello, > > Moving flows between NiFi instances is definitely something the > community is working to improve [1]. > > Currently there are two main options: templates, or moving the whole > flow.xml.gz. > > You can create templates of process groups and then import them into > another instance, some people have gone as far as automating this with > scripts using the REST API. > > If you want to whole sale move the flow you can just copy > conf/flow.xml.gz from one instance to another, keeping in mind that if > you have processors with sensitive properties, you will need the same > encryption key in both environments. > > I believe the backups work similarly to copying the flow.xml.gz in > that there should be an archive directory with copies of the > flow.xml.gz from different snapshots, and you can stop NiFi and copy > one of them into conf as the flow.xml.gz. Maybe someone can correct me > if I am wrong here. > > Thanks. > > Bryan > > > [1] https://cwiki.apache.org/confluence/display/NIFI/ > Configuration+Management+of+Flows > > On Thu, Feb 9, 2017 at 4:36 AM, James McMahon <[email protected]> > wrote: > > Good morning. How can we export and import our workflow backup snapshots > > from one established NiFi server instance to a new instance of NiFi > stood up > > on a new server? > > > > Also, how does one restore a previous version of a workflow backup > snapshot > > created from the administrative tool? > > > > Thank you. -Jim >
