The restored cluster should be with the same Zeros you used during the bulk loader. So, given the export data and schema from a previous cluster (g01.rdf.gz and g01.schema.gz), you’ll do the following:
- Run the Dgraph Zeros of the new cluster (no Alphas yet)
- Run bulk loader with the
--zerooption set to the Zero leader. This allocates the UID lease based on the dataset. - Copy the p directory from public loader to each Alpha replica.
- Start the Alphas.