# Apache NiFi Registry Toolkit This submodule is a landing zone for command line utilities that can be used for maintenance/automation of registry actions. It currently only contains a migration tool for changing flow persistence providers. ## Build ``` mvn clean install ``` ## Flow Persistence Provider migrator usage 1. Shutdown registry 1. (Optional but recommended) Backup your registry by zipping/tarring the directory up 1. Copy providers.xml -> providers-to.xml 1. Edit providers-to.xml to reflect what you'd like to migrate to (e.g. git) 1. In registry home as working directory, run persistence-toolkit.sh -t providers-to.xml 1. Rename providers-to.xml -> providers.xml 1. Start registry back up