--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/896b95c1-5c88-4254-ac41-bd0f2b202a6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Esta mensagem pode conter informações confidenciais e somente o indivíduo ou entidade a quem foi destinada pode utilizá-la. A transmissão incorreta da mensagem não acarreta a perda de sua confidencialidade. Caso esta mensagem tenha sido recebida por engano, solicitamos que o fato seja comunicado ao remetente e que a mensagem seja eliminada de seu sistema imediatamente. É vedado a qualquer pessoa que não seja o destinatário usar, revelar, distribuir ou copiar qualquer parte desta mensagem. Ambiente de comunicação sujeito a monitoramento.
This message may include confidential information and only the intended addresses have the right to use it as is, or any part of it. A wrong transmission does not break its confidentiality. If you've received it because of a mistake or erroneous transmission, please notify the sender and delete it from your system immediately. This communication environment is controlled and monitored.
B2W Digital
What I want, at this point, is to turn the delayed in the new replicaSet primary, so I have the test database again.
Hi Felipe,
If you’re only interested in restoring the accidentally dropped test database, dumping the database from the delayed secondary and then restoring it to the primary would be preferable.
drop on test database has been applied. test database from the standalone. You also need to consider operations which may have been applied before the drop but have not been applied to the delayed secondary. Depending on the nature of these operations, you may utilise the oplog to restore them after the database has been restored.
Is it not possible to reconfig the replica as I’m willing to?
Note that if you forced the delayed secondary to become PRIMARY without having it to catch up first, you are rolling back the entire deployment to a point in time in the past. i.e. you may also lost other operations on other databases test2, test3, etc.
Also worth pointing out that afterward, the previous PRIMARY member would likely to perform initial-sync
In my scenario, I have:
In addition, the minimum recommended configuration for a replica set is a three member replica set with three data-bearing members.
You may also be interested in reviewing various MongoDB backup methods.
Regards,
Wan.