MongoDB import/restore

Since using external apps such as Compass or 3T is not allowed.
What is the recommended way to import data or restore a dump file to my MongoDB private service?

@Vincent_Valero I would recommend installing Magic Wormhole on both the your local machine and the MongoDB service(Either by adding it to the dockerfile, or via the Shell tab on the render dashboard. If you install it via the shell it won’t persist through new deploys and would need to be installed again). You could then use Magic Wormhole to transfer the dump to the service and use mongorestore in the shell.

1 Like