We can use mongodump and try to do something similar as it's done with the postgres action. https://docs.mongodb.com/manual/reference/program/mongodump/