Hello everyone, I am currently trying to transfer a document in a database in mongodb automatically from one computer to another

As I am new to Mongodb I don’t know where to start itself.can you please tell me how to transfer a document in a database in mongodb automatically from one computer to another based on certain conditions like if the database value contains date as a Field the data before a particular date must be…