hi Darshan,
You can resync a new member of a replica set by copying the data files. For more details, please see Add Members to the Replica Set and Copy the Data Files.
There are several other things worth noting:
Regards,
Lungang
Hi Darshan,
I have read that link already and it just mentions that “local” is mandatory and my question build on top of that to further drill down into which other files/directories are mandatory and which can be skipped.
Actually, one should copy the whole directory (including files and subdirectories) for all and every database. Sorry that the document misled you and thank you for pointing that out. I am going to file a document bug to fix this issue.
Regards,
Lungang