Switching from other Flow Persistence Provider
In order to switch the Flow Persistence Provider, it is necessary to reset NiFi Registry. For example, to switch from FileSystemFlowPersistenceProvider
to GitFlowPersistenceProvider
, follow these steps:
-
Stop version control on all ProcessGroups in NiFi
-
Stop NiFi Registry
-
Move the H2 DB (specified as
nifi.registry.db.directory
in nifi-registry.properties) andFlow Storage Directory
forFileSystemFlowPersistenceProvider
directories somewhere for back up -
Configure
GitFlowPersistenceProvider
provider in providers.xml -
Start NiFi Registry
-
Recreate any buckets
-
Start version control on all ProcessGroups again