title: How to restore flows from git in NiFi Registry?
body: <p>I'm using GitFlowPersistenceProvider in NiFi Registry 0.3. Today I created another NiFi Registry and I wanted to load all flows from the previous one using the same provider. Unfortunately nothing happens - any buckets nor flows aren't recreated. I tried to create all buckets manually but even then any flows aren't imported. </p>
  
  <p><a href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.4.0/administering-nifi-registry/content/gitflowpersistenceprovider.html" rel="nofollow noreferrer">GitFlowPersistenceProvider  documentation </a> states:</p>
  
  <blockquote>
    <p>When NiFi Registry starts, this provider reads through Git commit
    histories and lookup these bucket.yml files to restore Buckets and
    Flows for each snapshot version.</p>
  </blockquote>
  
  <p>What should I do to load existing flows into new NiFi Registry using GitFlowPersistenceProvider?</p>