R
Railway3mo ago
Frugo

Getting a dump of a mongodb instance

Hey, I'm trying to get a dump of a mongo db.
mongodump --uri="mongodb://mongo:<password>@roundhouse.proxy.rlwy.net:<port>/<db>" --out dump20240421 --verbose
mongodump --uri="mongodb://mongo:<password>@roundhouse.proxy.rlwy.net:<port>/<db>" --out dump20240421 --verbose
It sort of starts doing something, but after 2 hours I don't see any more disk usage or any other proof that something is happening. What am I doing wrong? Btw. another option I tried was this:
mongodump <MONGO_URL> --authenticationDatabase admin --db lichess --out dump20240421
mongodump <MONGO_URL> --authenticationDatabase admin --db lichess --out dump20240421
But I got this error message
2024-04-21T10:07:14.590+0200 positional arguments not allowed: [<MONGO_URL>]
2024-04-21T10:07:14.590+0200 try 'mongodump --help' for more information
2024-04-21T10:07:14.590+0200 positional arguments not allowed: [<MONGO_URL>]
2024-04-21T10:07:14.590+0200 try 'mongodump --help' for more information
Solution:
I would recommend reading the documentation for mongodump as providing support for 3rd party tools is a bit out of scope unfortunately
Jump to solution
3 Replies
Percy
Percy3mo ago
Project ID: 60e0ed45-ef5f-4096-a857-4aeb6b8b7407
Frugo
Frugo3mo ago
Project ID: 60e0ed45-ef5f-4096-a857-4aeb6b8b7407
Solution
Brody
Brody3mo ago
I would recommend reading the documentation for mongodump as providing support for 3rd party tools is a bit out of scope unfortunately