MongoDB restoring to existing replica set (avoid creating a new one) I have a MongoDB cluster runnning on 3 AWS EC2 instances, 1 for primary and 2 secondary nodes. I'm trying to perform a backup and restore without having to recreate the replica set. mongodump seems a bad option for the long term if the DB grows too much. So I tried to follow MongoDB documentation to create volume backups for /data and /journal from a secondary but how the backup is restored when using a replica set remains unclear. So:


Will the primary and other secondaries be updated if I restore the backup to only one secondary?
If not, can I restore the secondary backups to the primary? (Including /data and /journal volumes). What should I do afterwards? Will the primary replicate the changes to the secondary?
Can I avoid recreating the replica set?
No. Copying to Secondary will not help
Yes. Primary will replicate the data to Secondary. Follow the steps below
Re-creating the replica set is not an option


Steps:


You can restore it on the Secondary node first
Next, Switch your Secondary with restored data to be the new Primary. Now the Primary has latest data
Bring down the Secondary, erase its data and then bring it up (Do a Resync) so it can copy the data from the Primary with latest data
Repeat the same on other Secondary
Once done, you can switch your Primary if required