Create new replicaset from another replicaset

Hi @Arthur_Fedorov, welcome to the forums & community.

This is a variation of restore replica set from backup. You have the datafiles already though.

  1. Start each member without --replSet
  2. Drop local db on each of them.
  3. Start with --replSet again.
  4. Initiate replica set on one member.
  5. Add each of the remaining members.

If you’re feeling a little shy about the procedure run a test with a smaller dataset to get confidence with it.

3 Likes